summaryrefslogtreecommitdiffstats
path: root/test/functional/files_controller_test.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-10-20 04:46:37 +0000
committerGo MAEDA <maeda@farend.jp>2024-10-20 04:46:37 +0000
commit95add1af5cb34f50af4aacb2e6064ab75346a411 (patch)
tree0eb6ae49a1846790eb572940f6a7b220cbbcf651 /test/functional/files_controller_test.rb
parentdaa18f5c381b6ecf2df674f7de2733ea9a3a31e7 (diff)
downloadredmine-95add1af5cb34f50af4aacb2e6064ab75346a411.tar.gz
redmine-95add1af5cb34f50af4aacb2e6064ab75346a411.zip
Include attachment filename in "File added" email notification subject (#41450).
Patch by minoura makoto (user:minoura). git-svn-id: https://svn.redmine.org/redmine/trunk@23148 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/files_controller_test.rb')
-rw-r--r--test/functional/files_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/files_controller_test.rb b/test/functional/files_controller_test.rb
index 2f983e287..4cc5c972b 100644
--- a/test/functional/files_controller_test.rb
+++ b/test/functional/files_controller_test.rb
@@ -107,7 +107,7 @@ class FilesControllerTest < Redmine::ControllerTest
mail = ActionMailer::Base.deliveries.last
assert_not_nil mail
- assert_equal "[eCookbook] New file", mail.subject
+ assert_equal '[eCookbook] New file: testfile.txt', mail.subject
assert_mail_body_match 'testfile.txt', mail
end