Fixed a test that writes into fixtures directory.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8914 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
dedfdefcf3
commit
148bc9448b
|
@ -211,6 +211,7 @@ class AttachmentsControllerTest < ActionController::TestCase
|
|||
end
|
||||
|
||||
def test_show_file_without_container_should_be_denied
|
||||
set_tmp_attachments_directory
|
||||
attachment = Attachment.create!(:file => uploaded_test_file("testfile.txt", "text/plain"), :author_id => 2)
|
||||
|
||||
@request.session[:user_id] = 2
|
||||
|
|
Loading…
Reference in New Issue