Permalink
Browse files

add the class name to the assertion message

  • Loading branch information...
1 parent 984ce0c commit f8964bd546b925fda49aa4dc76f14acf7bf84022 @tenderlove tenderlove committed Jan 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 f8964bd

Please sign in to comment.