Skip to content
Snippets Groups Projects
Commit a7ba81ea authored by Stephen Lottermoser's avatar Stephen Lottermoser
Browse files

Fix internally public projects tests

Takes into account 98bea4b1 and 3b88636d.
parent 4c44c5ef
No related branches found
No related tags found
1 merge request!3801Internally public projects
Loading
Loading
@@ -232,7 +232,7 @@ describe "Application access" do
 
 
describe "PublicProject" do
let(:project) { create(:project) }
let(:project) { create(:project_with_code) }
 
let(:master) { create(:user) }
let(:guest) { create(:user) }
Loading
Loading
@@ -356,7 +356,7 @@ describe "Application access" do
 
it { should be_allowed_for master }
it { should be_denied_for reporter }
it { should be_denied_for :admin }
it { should be_allowed_for :admin }
it { should be_denied_for guest }
it { should be_denied_for :user }
it { should be_denied_for :visitor }
Loading
Loading
@@ -367,7 +367,7 @@ describe "Application access" do
 
it { should be_allowed_for master }
it { should be_denied_for reporter }
it { should be_denied_for :admin }
it { should be_allowed_for :admin }
it { should be_denied_for guest }
it { should be_denied_for :user }
it { should be_denied_for :visitor }
Loading
Loading
@@ -400,7 +400,7 @@ describe "Application access" do
 
it { should be_allowed_for master }
it { should be_allowed_for reporter }
it { should be_denied_for :admin }
it { should be_allowed_for :admin }
it { should be_denied_for guest }
it { should be_denied_for :user }
it { should be_denied_for :visitor }
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment