Skip to content
Browse files

remove implicit assumption about mysql in the assertion

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent cd937e6 commit aa088e05dc6b572f24d713534c38d52dd5896347 @NZKoz NZKoz committed Feb 20, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/test/cases/base_test.rb
View
4 activerecord/test/cases/base_test.rb
@@ -132,8 +132,8 @@ def test_read_attributes_before_type_cast
end
def test_read_attributes_before_type_cast_on_boolean
- bool = Booleantest.create({ "value" => false })
- assert_equal 0 , bool.attributes_before_type_cast["value"]
+ bool = Booleantest.new({ "value" => 0 })
+ assert_equal 0, bool.attributes_before_type_cast["value"]
end
def test_read_attributes_before_type_cast_on_datetime

0 comments on commit aa088e0

Please sign in to comment.
Something went wrong with that request. Please try again.