Check for the right exception

This commit is contained in:
Rafael Mendonça França 2016-05-03 17:21:05 -05:00
parent 83a8682c1d
commit ab44e36624

@ -9,7 +9,7 @@ class UnsignedIntegerTest < ActiveModel::TestCase
end
test "minus value is out of range" do
assert_raises(::RangeError) do
assert_raises(ActiveModel::RangeError) do
UnsignedInteger.new.serialize(-1)
end
end