Skip to content
Snippets Groups Projects

Resolve "Combine Deploy Keys and Push Rules and Mirror Repository and Protect Branches settings pages"

All threads resolved!
3 files
+ 42
0
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -96,6 +96,20 @@
@@ -96,6 +96,20 @@
it { is_expected.to be_denied_for(:external) }
it { is_expected.to be_denied_for(:external) }
end
end
 
describe "GET /:project_path/settings/members" do
 
subject { namespace_project_settings_members_path(project.namespace, project) }
 
 
it { is_expected.to be_allowed_for(:admin) }
 
it { is_expected.to be_allowed_for(:owner).of(project) }
 
it { is_expected.to be_allowed_for(:master).of(project) }
 
it { is_expected.to be_allowed_for(:developer).of(project) }
 
it { is_expected.to be_allowed_for(:reporter).of(project) }
 
it { is_expected.to be_allowed_for(:guest).of(project) }
 
it { is_expected.to be_allowed_for(:user) }
 
it { is_expected.to be_denied_for(:visitor) }
 
it { is_expected.to be_denied_for(:external) }
 
end
 
describe "GET /:project_path/blob" do
describe "GET /:project_path/blob" do
let(:commit) { project.repository.commit }
let(:commit) { project.repository.commit }
subject { namespace_project_blob_path(project.namespace, project, File.join(commit.id, '.gitignore')) }
subject { namespace_project_blob_path(project.namespace, project, File.join(commit.id, '.gitignore')) }
Loading