diff options
Diffstat (limited to 'spec/features/security/project')
6 files changed, 12 insertions, 12 deletions
diff --git a/spec/features/security/project/internal_access_spec.rb b/spec/features/security/project/internal_access_spec.rb index f29aa8de928..99f30d2f904 100644 --- a/spec/features/security/project/internal_access_spec.rb +++ b/spec/features/security/project/internal_access_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe "Internal Project Access" do +RSpec.describe "Internal Project Access" do include AccessMatchers let_it_be(:project, reload: true) { create(:project, :internal, :repository) } @@ -85,8 +85,8 @@ describe "Internal Project Access" do it { is_expected.to be_denied_for(:visitor) } end - describe "GET /:project_path/-/settings/members" do - subject { project_settings_members_path(project) } + describe "GET /:project_path/-/project_members" do + subject { project_project_members_path(project) } it { is_expected.to be_allowed_for(:admin) } it { is_expected.to be_allowed_for(:owner).of(project) } diff --git a/spec/features/security/project/private_access_spec.rb b/spec/features/security/project/private_access_spec.rb index ac8596d89bc..e891e79db70 100644 --- a/spec/features/security/project/private_access_spec.rb +++ b/spec/features/security/project/private_access_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe "Private Project Access" do +RSpec.describe "Private Project Access" do include AccessMatchers let_it_be(:project, reload: true) { create(:project, :private, :repository, public_builds: false) } @@ -85,8 +85,8 @@ describe "Private Project Access" do it { is_expected.to be_denied_for(:visitor) } end - describe "GET /:project_path/-/settings/members" do - subject { project_settings_members_path(project) } + describe "GET /:project_path/-/project_members" do + subject { project_project_members_path(project) } it { is_expected.to be_allowed_for(:admin) } it { is_expected.to be_allowed_for(:owner).of(project) } diff --git a/spec/features/security/project/public_access_spec.rb b/spec/features/security/project/public_access_spec.rb index 11e9bff10a1..ea00a59dee4 100644 --- a/spec/features/security/project/public_access_spec.rb +++ b/spec/features/security/project/public_access_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe "Public Project Access" do +RSpec.describe "Public Project Access" do include AccessMatchers let_it_be(:project, reload: true) { create(:project, :public, :repository) } @@ -85,8 +85,8 @@ describe "Public Project Access" do it { is_expected.to be_allowed_for(:visitor) } end - describe "GET /:project_path/-/settings/members" do - subject { project_settings_members_path(project) } + describe "GET /:project_path/-/project_members" do + subject { project_project_members_path(project) } it { is_expected.to be_allowed_for(:admin) } it { is_expected.to be_allowed_for(:owner).of(project) } diff --git a/spec/features/security/project/snippet/internal_access_spec.rb b/spec/features/security/project/snippet/internal_access_spec.rb index 4b6c7d2c8fb..52ae1022a4e 100644 --- a/spec/features/security/project/snippet/internal_access_spec.rb +++ b/spec/features/security/project/snippet/internal_access_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe "Internal Project Snippets Access" do +RSpec.describe "Internal Project Snippets Access" do include AccessMatchers let(:project) { create(:project, :internal) } diff --git a/spec/features/security/project/snippet/private_access_spec.rb b/spec/features/security/project/snippet/private_access_spec.rb index 3135d25cc10..0c97b012ad1 100644 --- a/spec/features/security/project/snippet/private_access_spec.rb +++ b/spec/features/security/project/snippet/private_access_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe "Private Project Snippets Access" do +RSpec.describe "Private Project Snippets Access" do include AccessMatchers let(:project) { create(:project, :private) } diff --git a/spec/features/security/project/snippet/public_access_spec.rb b/spec/features/security/project/snippet/public_access_spec.rb index 81689a7bcb5..dfe78aa7ebc 100644 --- a/spec/features/security/project/snippet/public_access_spec.rb +++ b/spec/features/security/project/snippet/public_access_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe "Public Project Snippets Access" do +RSpec.describe "Public Project Snippets Access" do include AccessMatchers let(:project) { create(:project, :public) } |