code format clean up WikisControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12778 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-02-04 04:31:29 +00:00
parent b87a7b8984
commit 669a16376f
1 changed files with 2 additions and 1 deletions

View File

@ -71,7 +71,8 @@ class WikisControllerTest < ActionController::TestCase
def test_destroy def test_destroy
@request.session[:user_id] = 1 @request.session[:user_id] = 1
post :destroy, :id => 1, :confirm => 1 post :destroy, :id => 1, :confirm => 1
assert_redirected_to :controller => 'projects', :action => 'settings', :id => 'ecookbook', :tab => 'wiki' assert_redirected_to :controller => 'projects',
:action => 'settings', :id => 'ecookbook', :tab => 'wiki'
assert_nil Project.find(1).wiki assert_nil Project.find(1).wiki
end end