summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-07-02 03:04:04 +0000
committerGo MAEDA <maeda@farend.jp>2018-07-02 03:04:04 +0000
commit7d00558aeab94eef3d96f9f651c5f53a5e493c5f (patch)
tree5b18aba15b85eceedd8875ac4b94831c3a9c5df7 /test
parent7e4798cdb18760045df7ff71f06d027e6c6b77a5 (diff)
downloadredmine-7d00558aeab94eef3d96f9f651c5f53a5e493c5f.tar.gz
redmine-7d00558aeab94eef3d96f9f651c5f53a5e493c5f.zip
Merged r17428 from trunk to 3.3-stable (#29038).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@17430 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/attachment_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/attachment_test.rb b/test/unit/attachment_test.rb
index c2f612405..45061fe48 100644
--- a/test/unit/attachment_test.rb
+++ b/test/unit/attachment_test.rb
@@ -242,6 +242,7 @@ class AttachmentTest < ActiveSupport::TestCase
a = Attachment.new(:filename => "test.png", :description => "Cool image")
assert_equal "test.png (Cool image)", a.title
+ assert_equal "test.png", a.filename
end
def test_new_attachment_should_be_editable_by_author