##// END OF EJS Templates
Fixed a test that writes into fixtures directory....
Jean-Philippe Lang -
r8794:148bc9448bc2
parent child
Show More
@@ -211,6 +211,7 class AttachmentsControllerTest < ActionController::TestCase
211 211 end
212 212
213 213 def test_show_file_without_container_should_be_denied
214 set_tmp_attachments_directory
214 215 attachment = Attachment.create!(:file => uploaded_test_file("testfile.txt", "text/plain"), :author_id => 2)
215 216
216 217 @request.session[:user_id] = 2
General Comments 0
You need to be logged in to leave comments. Login now