diff options
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r-- | test/test_helper.rb | 2 |
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 |