diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/documents_controller_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/documents_controller_test.rb b/test/functional/documents_controller_test.rb index 4686639f3..0a7aed72b 100644 --- a/test/functional/documents_controller_test.rb +++ b/test/functional/documents_controller_test.rb @@ -118,10 +118,10 @@ LOREM :title => 'DocumentsControllerTest#test_post_new', :description => 'This is a new document', :category_id => 2 - }, + }, :attachments => { '1' => { - 'file' => uploaded_test_file('testfile.txt', 'text/plain')} + 'file' => uploaded_test_file('testfile.txt', 'text/plain')} } } end @@ -159,7 +159,7 @@ LOREM :document => { :title => 'no default', :description => 'This is a new document', - :category_id => category1.id + :category_id => category1.id } } assert_redirected_to '/projects/ecookbook/documents' @@ -220,7 +220,7 @@ LOREM :id => 1, :attachments => { '1' => { - 'file' => uploaded_test_file('testfile.txt', 'text/plain')} + 'file' => uploaded_test_file('testfile.txt', 'text/plain')} } } end |