diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-12-08 20:59:41 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-12-11 10:30:10 +0200 |
commit | d8b7df3cbcfd4fcdf204fdcba01720e60fb598bf (patch) | |
tree | ae7f128bb569a4cf97b390e510eff2f3d2bb77b0 /spec/features/security | |
parent | 3f768f9a14ad90bbd79d384e3c287db4feea3e35 (diff) | |
download | gitlab-ce-d8b7df3cbcfd4fcdf204fdcba01720e60fb598bf.tar.gz |
Add support for nested groups to admin routingdz-fix-admin-routes
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/features/security')
-rw-r--r-- | spec/features/security/admin_access_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/security/admin_access_spec.rb b/spec/features/security/admin_access_spec.rb index fe8cd7b7602..e180ca53eb5 100644 --- a/spec/features/security/admin_access_spec.rb +++ b/spec/features/security/admin_access_spec.rb @@ -4,7 +4,7 @@ describe "Admin::Projects", feature: true do include AccessMatchers describe "GET /admin/projects" do - subject { admin_namespaces_projects_path } + subject { admin_projects_path } it { is_expected.to be_allowed_for :admin } it { is_expected.to be_denied_for :user } |