From 2aac4e4392821e72bd7a2626e78b3797c74de9c2 Mon Sep 17 00:00:00 2001 From: yui-knk Date: Wed, 25 Jan 2017 13:57:31 +0900 Subject: Give a message to `#test_duplicable` assertion Giving a message helps us to know what happened when we look at Travis CI. --- activesupport/test/core_ext/object/duplicable_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/test/core_ext/object') 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 -- cgit v1.2.3