diff options
author | Stephen Lottermoser <holdtotherod@gmail.com> | 2013-05-02 00:53:54 -0700 |
---|---|---|
committer | Stephen Lottermoser <holdtotherod@gmail.com> | 2013-05-02 00:57:10 -0700 |
commit | a7ba81ea5d3f2c9b0085db68e880e89cec960f6f (patch) | |
tree | f0ada6b28ba83aaa058c070f9706910965d713c4 /spec/features/security | |
parent | 4c44c5ef9a569c65bca8e70078205ef2ce7d6396 (diff) | |
download | gitlab-ce-a7ba81ea5d3f2c9b0085db68e880e89cec960f6f.tar.gz |
Fix internally public projects tests
Takes into account 98bea4b1ff and 3b88636d3c.
Diffstat (limited to 'spec/features/security')
-rw-r--r-- | spec/features/security/project_access_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/security/project_access_spec.rb b/spec/features/security/project_access_spec.rb index a00b2b0375a..8c65af061e0 100644 --- a/spec/features/security/project_access_spec.rb +++ b/spec/features/security/project_access_spec.rb @@ -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) } @@ -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 } @@ -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 } @@ -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 } |