diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-01-11 09:24:24 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-01-11 09:24:24 +0000 |
commit | a313d540a66dcbee7123c59105dae8b8548955cd (patch) | |
tree | 6284abace801f87a88afdbac14eaa187a6f9cfdf /test | |
parent | 6097d6b1bf144e5052f681a57f262a7c171a35f9 (diff) | |
download | redmine-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.rb | 5 |
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 |