Permalink
Browse files

Should be Boolean there

  • Loading branch information...
1 parent 707248a commit a036999ed14ff12b312a3112c24bb7205fe51e35 @spastorino spastorino committed Aug 14, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/test/cases/base_test.rb
@@ -112,14 +112,14 @@ def test_read_attributes_before_type_cast
if current_adapter?(:MysqlAdapter)
def test_read_attributes_before_type_cast_on_boolean
- bool = Booleantest.create({ "value" => false })
+ bool = Boolean.create({ "value" => false })
assert_equal "0", bool.reload.attributes_before_type_cast["value"]
end
end
if current_adapter?(:Mysql2Adapter)
def test_read_attributes_before_type_cast_on_boolean
- bool = Booleantest.create({ "value" => false })
+ bool = Boolean.create({ "value" => false })
assert_equal 0, bool.reload.attributes_before_type_cast["value"]
end
end

0 comments on commit a036999

Please sign in to comment.