summaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-09-16 09:23:55 +0000
committerGo MAEDA <maeda@farend.jp>2019-09-16 09:23:55 +0000
commitbaebb89ff6c2e20cfd5462afbe552e216f311f02 (patch)
tree94c223e643123f6a6fc6582d283fef19956bd259 /test/test_helper.rb
parent217b09114315a21ba53b95ee75410ffe600751c5 (diff)
downloadredmine-baebb89ff6c2e20cfd5462afbe552e216f311f02.tar.gz
redmine-baebb89ff6c2e20cfd5462afbe552e216f311f02.zip
Fix FrozenError during tests (#32071, #26561).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18474 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 6a6fd7fa5..390d09518 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -204,7 +204,7 @@ class ActiveSupport::TestCase
saved = object.save
message = "#{object.class} could not be saved"
errors = object.errors.full_messages.map {|m| "- #{m}"}
- message << ":\n#{errors.join("\n")}" if errors.any?
+ message += ":\n#{errors.join("\n")}" if errors.any?
assert_equal true, saved, message
end