diff options
author | yui-knk <spiketeika@gmail.com> | 2017-01-25 13:57:31 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2017-01-25 13:57:31 +0900 |
commit | 2aac4e4392821e72bd7a2626e78b3797c74de9c2 (patch) | |
tree | d000ddc99f2556dfb1eb1f32bd6e15bddcdac9e4 /activesupport/test | |
parent | 6363fa1a6f9ef43b3e89e8cf5873617e851414d4 (diff) | |
download | rails-2aac4e4392821e72bd7a2626e78b3797c74de9c2.tar.gz rails-2aac4e4392821e72bd7a2626e78b3797c74de9c2.tar.bz2 rails-2aac4e4392821e72bd7a2626e78b3797c74de9c2.zip |
Give a message to `#test_duplicable` assertion
Giving a message helps us to know what happened
when we look at Travis CI.
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/core_ext/object/duplicable_test.rb | 2 |
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 |