mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #17807 from jvperrin/correct-integer-test
Correct test description for large integer test
This commit is contained in:
commit
200b9035da
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ module ActiveRecord
|
|||
end
|
||||
end
|
||||
|
||||
test "very large numbers are in range" do
|
||||
test "very large numbers are out of range" do
|
||||
assert_raises(::RangeError) do
|
||||
Integer.new.type_cast_from_user("9999999999999999999999999999999")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue