test/unit/attributes_test.rb in superstore-2.5.0 vs test/unit/attributes_test.rb in superstore-3.0.0
- old
+ new
@@ -68,11 +68,11 @@
assert_equal '42', issue.name
end
test 'integer_range' do
issue = TestIssue.create! age_range: ['70', nil]
- assert_equal 70..Float::INFINITY, issue.age_range
+ assert_equal 70.., issue.age_range
issue = TestIssue.find issue.id
- assert_equal 70..Float::INFINITY, issue.age_range
+ assert_equal 70.., issue.age_range
end
end