From a313d540a66dcbee7123c59105dae8b8548955cd Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 11 Jan 2014 09:24:24 +0000 Subject: [PATCH] code format cleanup WikiControllerTest git-svn-id: http://svn.redmine.org/redmine/trunk@12634 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/wiki_controller_test.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/functional/wiki_controller_test.rb b/test/functional/wiki_controller_test.rb index 9c59668c5..83c0f7de9 100644 --- a/test/functional/wiki_controller_test.rb +++ b/test/functional/wiki_controller_test.rb @@ -948,7 +948,10 @@ class WikiControllerTest < ActionController::TestCase @request.session[:user_id] = 2 assert_difference 'Attachment.count' do post :add_attachment, :project_id => 1, :id => 'CookBook_documentation', - :attachments => {'1' => {'file' => uploaded_test_file('testfile.txt', 'text/plain'), 'description' => 'test file'}} + :attachments => { + '1' => {'file' => uploaded_test_file('testfile.txt', 'text/plain'), + 'description' => 'test file'} + } end attachment = Attachment.first(:order => 'id DESC') assert_equal Wiki.find(1).find_page('CookBook_documentation'), attachment.container