Commit 92de0faf6e86d7fed33bc8989e3f2147c16450dd
1 parent
fc66c183
Exists in
master
and in
4 other branches
Fix spec errors.
Showing
2 changed files
with
11 additions
and
8 deletions
Show diff stats
spec/features/projects_spec.rb
spec/features/security/project_access_spec.rb
| ... | ... | @@ -230,14 +230,17 @@ describe "Application access" do |
| 230 | 230 | end |
| 231 | 231 | |
| 232 | 232 | describe "GET /project_code/files" do |
| 233 | - subject { files_project_path(project) } | |
| 233 | + pending("ProjectsController#files have been deleted.") do | |
| 234 | 234 | |
| 235 | - it { should be_allowed_for master } | |
| 236 | - it { should be_allowed_for reporter } | |
| 237 | - it { should be_denied_for :admin } | |
| 238 | - it { should be_denied_for guest } | |
| 239 | - it { should be_denied_for :user } | |
| 240 | - it { should be_denied_for :visitor } | |
| 235 | + subject { files_project_path(project) } | |
| 236 | + | |
| 237 | + it { should be_allowed_for master } | |
| 238 | + it { should be_allowed_for reporter } | |
| 239 | + it { should be_denied_for :admin } | |
| 240 | + it { should be_denied_for guest } | |
| 241 | + it { should be_denied_for :user } | |
| 242 | + it { should be_denied_for :visitor } | |
| 243 | + end | |
| 241 | 244 | end |
| 242 | 245 | end |
| 243 | 246 | end | ... | ... |