aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorRichard Schneeman <richard.schneeman+no-recruiters@gmail.com>2017-01-25 02:53:49 -0600
committerGitHub <noreply@github.com>2017-01-25 02:53:49 -0600
commit1107c85876a8a860cbb26b5c00c727ef76cb86e4 (patch)
tree8b0bb13fe7c892cf1c5678ca626d59a5d69de80a /activesupport
parent7da8d76206271bdf200ea201f7e5a49afb9bc9e7 (diff)
parent2aac4e4392821e72bd7a2626e78b3797c74de9c2 (diff)
downloadrails-1107c85876a8a860cbb26b5c00c727ef76cb86e4.tar.gz
rails-1107c85876a8a860cbb26b5c00c727ef76cb86e4.tar.bz2
rails-1107c85876a8a860cbb26b5c00c727ef76cb86e4.zip
Merge pull request #27798 from yui-knk/give_message_to_test_duplicable
Give a message to `#test_duplicable` assertion
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/core_ext/object/duplicable_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/object/duplicable_test.rb b/activesupport/test/core_ext/object/duplicable_test.rb
index 466f62a4b4..1755d80b5f 100644
--- a/activesupport/test/core_ext/object/duplicable_test.rb
+++ b/activesupport/test/core_ext/object/duplicable_test.rb
@@ -17,7 +17,7 @@ class DuplicableTest < ActiveSupport::TestCase
"* https://github.com/rubinius/rubinius/issues/3089"
RAISE_DUP.each do |v|
- assert !v.duplicable?
+ assert !v.duplicable?, "#{ v.inspect } should not be duplicable"
assert_raises(TypeError, v.class.name) { v.dup }
end