diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-18 18:10:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-18 18:10:42 +0300 |
commit | bfc7eec58ee891178d2a81c424f6c1de22feae5f (patch) | |
tree | 7cf9e2f76befc383e99d28d397ecec4bb9e8d2c9 /spec/features/security | |
parent | f23a9a17ed6237c346d2e9210c6841e319e8d030 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/security')
-rw-r--r-- | spec/features/security/dashboard_access_spec.rb | 2 | ||||
-rw-r--r-- | spec/features/security/profile_access_spec.rb | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/spec/features/security/dashboard_access_spec.rb b/spec/features/security/dashboard_access_spec.rb index 5ac4a5c1840..5430329d47d 100644 --- a/spec/features/security/dashboard_access_spec.rb +++ b/spec/features/security/dashboard_access_spec.rb @@ -57,7 +57,7 @@ RSpec.describe "Dashboard access" do it { expect(new_group_path).to be_denied_for :visitor } end - describe "GET /profile/groups" do + describe "GET /dashboard/groups" do subject { dashboard_groups_path } it { is_expected.to be_allowed_for :admin } diff --git a/spec/features/security/profile_access_spec.rb b/spec/features/security/profile_access_spec.rb index 3aa8278866c..301efd2d99b 100644 --- a/spec/features/security/profile_access_spec.rb +++ b/spec/features/security/profile_access_spec.rb @@ -5,7 +5,7 @@ require 'spec_helper' RSpec.describe "Profile access" do include AccessMatchers - describe "GET /profile/keys" do + describe "GET /-/profile/keys" do subject { profile_keys_path } it { is_expected.to be_allowed_for :admin } @@ -13,7 +13,7 @@ RSpec.describe "Profile access" do it { is_expected.to be_denied_for :visitor } end - describe "GET /profile" do + describe "GET /-/profile" do subject { profile_path } it { is_expected.to be_allowed_for :admin } @@ -21,7 +21,7 @@ RSpec.describe "Profile access" do it { is_expected.to be_denied_for :visitor } end - describe "GET /profile/account" do + describe "GET /-/profile/account" do subject { profile_account_path } it { is_expected.to be_allowed_for :admin } @@ -29,7 +29,7 @@ RSpec.describe "Profile access" do it { is_expected.to be_denied_for :visitor } end - describe "GET /profile/preferences" do + describe "GET /-/profile/preferences" do subject { profile_preferences_path } it { is_expected.to be_allowed_for :admin } @@ -37,7 +37,7 @@ RSpec.describe "Profile access" do it { is_expected.to be_denied_for :visitor } end - describe "GET /profile/audit_log" do + describe "GET /-/profile/audit_log" do subject { audit_log_profile_path } it { is_expected.to be_allowed_for :admin } @@ -45,7 +45,7 @@ RSpec.describe "Profile access" do it { is_expected.to be_denied_for :visitor } end - describe "GET /profile/notifications" do + describe "GET /-/profile/notifications" do subject { profile_notifications_path } it { is_expected.to be_allowed_for :admin } |