summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-11 09:24:24 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-11 09:24:24 +0000
commita313d540a66dcbee7123c59105dae8b8548955cd (patch)
tree6284abace801f87a88afdbac14eaa187a6f9cfdf /test
parent6097d6b1bf144e5052f681a57f262a7c171a35f9 (diff)
downloadredmine-a313d540a66dcbee7123c59105dae8b8548955cd.tar.gz
redmine-a313d540a66dcbee7123c59105dae8b8548955cd.zip
code format cleanup WikiControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12634 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/wiki_controller_test.rb5
1 files changed, 4 insertions, 1 deletions
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