Skip to content

Commit

Permalink
add the class name to the assertion message
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Jan 6, 2012
1 parent 984ce0c commit f8964bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/test/core_ext/duplicable_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f8964bd

Please sign in to comment.