summaryrefslogtreecommitdiff
path: root/spec/features/security/project_access_spec.rb
diff options
context:
space:
mode:
authorSato Hiroyuki <sathiroyuki@gmail.com>2013-03-19 13:46:07 +0900
committerSato Hiroyuki <sathiroyuki@gmail.com>2013-03-19 14:21:00 +0900
commit92de0faf6e86d7fed33bc8989e3f2147c16450dd (patch)
treedeec18b47f0c41f1678ab3d996df37318c9c36bc /spec/features/security/project_access_spec.rb
parentfc66c18349c01b5d5d07b9780d54ad12f42112de (diff)
downloadgitlab-ce-92de0faf6e86d7fed33bc8989e3f2147c16450dd.tar.gz
Fix spec errors.
Diffstat (limited to 'spec/features/security/project_access_spec.rb')
-rw-r--r--spec/features/security/project_access_spec.rb17
1 files changed, 10 insertions, 7 deletions
diff --git a/spec/features/security/project_access_spec.rb b/spec/features/security/project_access_spec.rb
index a35175102ec..a871cf01dd4 100644
--- a/spec/features/security/project_access_spec.rb
+++ b/spec/features/security/project_access_spec.rb
@@ -230,14 +230,17 @@ describe "Application access" do
end
describe "GET /project_code/files" do
- subject { files_project_path(project) }
+ pending("ProjectsController#files have been deleted.") do
- it { should be_allowed_for master }
- it { should be_allowed_for reporter }
- it { should be_denied_for :admin }
- it { should be_denied_for guest }
- it { should be_denied_for :user }
- it { should be_denied_for :visitor }
+ subject { files_project_path(project) }
+
+ it { should be_allowed_for master }
+ it { should be_allowed_for reporter }
+ it { should be_denied_for :admin }
+ it { should be_denied_for guest }
+ it { should be_denied_for :user }
+ it { should be_denied_for :visitor }
+ end
end
end
end