summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-07-02 03:03:12 +0000
committerGo MAEDA <maeda@farend.jp>2018-07-02 03:03:12 +0000
commita3570ff62b795ee4e68322f7888269d45acec9b1 (patch)
tree0ed36e6355c2e8e474bcccb2f39c6f954c371b7b /test/unit
parent4cd518cd4c8b0c9352a0e35528908b0d0f1db29b (diff)
downloadredmine-a3570ff62b795ee4e68322f7888269d45acec9b1.tar.gz
redmine-a3570ff62b795ee4e68322f7888269d45acec9b1.zip
Merged r17428 from trunk to 3.4-stable (#29038).
git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@17429 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-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 e55c60b86..4093df75d 100644
--- a/test/unit/attachment_test.rb
+++ b/test/unit/attachment_test.rb
@@ -262,6 +262,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