Commit ac2a47bbfba6eec0b0a25e65e0edfb9b4490f1ee
1 parent
46393ff9
Exists in
colab
and in
4 other branches
Fixed unit test for project deletion
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spec/controllers/projects_controller_spec.rb
| @@ -77,7 +77,7 @@ describe ProjectsController do | @@ -77,7 +77,7 @@ describe ProjectsController do | ||
| 77 | end | 77 | end |
| 78 | 78 | ||
| 79 | it 'should redirect to the projects page' do | 79 | it 'should redirect to the projects page' do |
| 80 | - response.should redirect_to project_url | 80 | + response.should redirect_to projects_url |
| 81 | end | 81 | end |
| 82 | 82 | ||
| 83 | it { should respond_with(:redirect) } | 83 | it { should respond_with(:redirect) } |