Skip to content
Browse files

add the class name to the assertion message

  • Loading branch information...
1 parent a85ffd0 commit ca0c0a20ac8efd0c3332e9d03d1fdf63eaac5eea @tenderlove tenderlove committed with arunagw Jan 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/test/core_ext/duplicable_test.rb
View
2 activesupport/test/core_ext/duplicable_test.rb
@@ -22,7 +22,7 @@ def test_duplicable
end
RAISE_DUP.each do |v|
- assert_raises(TypeError) do
+ assert_raises(TypeError, v.class.name) do
v.dup
end
end

0 comments on commit ca0c0a2

Please sign in to comment.
Something went wrong with that request. Please try again.