diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-05 14:59:05 -0800 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2012-04-10 21:05:47 +0530 |
commit | ca0c0a20ac8efd0c3332e9d03d1fdf63eaac5eea (patch) | |
tree | 6d36d202bd42504f0016e24bea8c05b6aeeb5d1c /activesupport | |
parent | a85ffd0fc020abe05fb849de4a2440ee36355062 (diff) | |
download | rails-ca0c0a20ac8efd0c3332e9d03d1fdf63eaac5eea.tar.gz rails-ca0c0a20ac8efd0c3332e9d03d1fdf63eaac5eea.tar.bz2 rails-ca0c0a20ac8efd0c3332e9d03d1fdf63eaac5eea.zip |
add the class name to the assertion message
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/test/core_ext/duplicable_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/duplicable_test.rb b/activesupport/test/core_ext/duplicable_test.rb index e48e6a7c45..d1a886fba0 100644 --- a/activesupport/test/core_ext/duplicable_test.rb +++ b/activesupport/test/core_ext/duplicable_test.rb @@ -22,7 +22,7 @@ class DuplicableTest < Test::Unit::TestCase end RAISE_DUP.each do |v| - assert_raises(TypeError) do + assert_raises(TypeError, v.class.name) do v.dup end end |