diff options
Diffstat (limited to 'activerecord/test/base_test.rb')
-rwxr-xr-x | activerecord/test/base_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/base_test.rb b/activerecord/test/base_test.rb index d6b912eb6a..ab73ea77a7 100755 --- a/activerecord/test/base_test.rb +++ b/activerecord/test/base_test.rb @@ -314,7 +314,7 @@ class BasicsTest < Test::Unit::TestCase object.string_value = " " assert !object.string_value? - assert_equal "1", object.int_value + assert_equal 1, object.int_value.to_i assert object.int_value? object.int_value = "0" |