@@ -232,7 +232,7 class AttachmentsControllerTest < ActionController::TestCase | |||||
232 | assert_response 200 |
|
232 | assert_response 200 | |
233 | end |
|
233 | end | |
234 |
|
234 | |||
235 |
def test_show_file_without_container_should_be_ |
|
235 | def test_show_file_without_container_should_be_denied_to_other_users | |
236 | set_tmp_attachments_directory |
|
236 | set_tmp_attachments_directory | |
237 | attachment = Attachment.create!(:file => uploaded_test_file("testfile.txt", "text/plain"), :author_id => 2) |
|
237 | attachment = Attachment.create!(:file => uploaded_test_file("testfile.txt", "text/plain"), :author_id => 2) | |
238 |
|
238 |
General Comments 0
You need to be logged in to leave comments.
Login now