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:
parent
b87a7b8984
commit
669a16376f
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue