mirror of
https://github.com/github/rails.git
synced 2026-04-04 03:00:58 -04:00
remove implicit assumption about mysql in the assertion
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -132,8 +132,8 @@ class BasicsTest < ActiveRecord::TestCase
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user