summaryrefslogtreecommitdiffstats
path: root/test/functional/attachments_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-11 20:14:39 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-11 20:14:39 +0000
commit5dd7467061fbe6b649a6bf92f969184e41bc8908 (patch)
treec52ee24a63bb266f5f04efcfbd258945c2e274f7 /test/functional/attachments_controller_test.rb
parent8c7b6012f5fcad7610093733da8d757d1677abc3 (diff)
downloadredmine-5dd7467061fbe6b649a6bf92f969184e41bc8908.tar.gz
redmine-5dd7467061fbe6b649a6bf92f969184e41bc8908.zip
Fixed duplicate test name.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10986 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/attachments_controller_test.rb')
-rw-r--r--test/functional/attachments_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/attachments_controller_test.rb b/test/functional/attachments_controller_test.rb
index 82b0d0cf0..b197a8320 100644
--- a/test/functional/attachments_controller_test.rb
+++ b/test/functional/attachments_controller_test.rb
@@ -232,7 +232,7 @@ class AttachmentsControllerTest < ActionController::TestCase
assert_response 200
end
- def test_show_file_without_container_should_be_allowed_to_author
+ def test_show_file_without_container_should_be_denied_to_other_users
set_tmp_attachments_directory
attachment = Attachment.create!(:file => uploaded_test_file("testfile.txt", "text/plain"), :author_id => 2)