diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-05 14:59:05 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-06 13:58:55 -0800 |
commit | f8964bd546b925fda49aa4dc76f14acf7bf84022 (patch) | |
tree | db569aab255115df37b293ec9baa3e95f2641d60 /activesupport | |
parent | 984ce0cf9acf6e5bae4e95b87d6a9545579464ef (diff) | |
download | rails-f8964bd546b925fda49aa4dc76f14acf7bf84022.tar.gz rails-f8964bd546b925fda49aa4dc76f14acf7bf84022.tar.bz2 rails-f8964bd546b925fda49aa4dc76f14acf7bf84022.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 0ed81fa8e1..3e54266051 100644 --- a/activesupport/test/core_ext/duplicable_test.rb +++ b/activesupport/test/core_ext/duplicable_test.rb @@ -22,7 +22,7 @@ class DuplicableTest < ActiveSupport::TestCase end RAISE_DUP.each do |v| - assert_raises(TypeError) do + assert_raises(TypeError, v.class.name) do v.dup end end |