@@ -180,7 +180,7 LOREM | |||
|
180 | 180 | post :add_attachment, :id => 1, |
|
181 | 181 | :attachments => {'1' => {'file' => uploaded_test_file('testfile.txt', 'text/plain')}} |
|
182 | 182 | end |
|
183 |
attachment = Attachment. |
|
|
183 | attachment = Attachment.order('id DESC').first | |
|
184 | 184 | assert_equal Document.find(1), attachment.container |
|
185 | 185 | end |
|
186 | 186 | end |
General Comments 0
You need to be logged in to leave comments.
Login now