@@ -71,7 +71,8 class WikisControllerTest < ActionController::TestCase | |||
|
71 | 71 | def test_destroy |
|
72 | 72 | @request.session[:user_id] = 1 |
|
73 | 73 | post :destroy, :id => 1, :confirm => 1 |
|
74 |
assert_redirected_to :controller => 'projects', |
|
|
74 | assert_redirected_to :controller => 'projects', | |
|
75 | :action => 'settings', :id => 'ecookbook', :tab => 'wiki' | |
|
75 | 76 | assert_nil Project.find(1).wiki |
|
76 | 77 | end |
|
77 | 78 |
General Comments 0
You need to be logged in to leave comments.
Login now