diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-02-20 05:14:46 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-02-20 05:14:46 +0000 |
commit | aa088e05dc6b572f24d713534c38d52dd5896347 (patch) | |
tree | 95505818faab48c86f40adc417bba781c4f7afa4 /activerecord | |
parent | cd937e6ad7a371668c4dbbea308a7a45dfe41a6a (diff) | |
download | rails-aa088e05dc6b572f24d713534c38d52dd5896347.tar.gz rails-aa088e05dc6b572f24d713534c38d52dd5896347.tar.bz2 rails-aa088e05dc6b572f24d713534c38d52dd5896347.zip |
remove implicit assumption about mysql in the assertion
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rwxr-xr-x | activerecord/test/cases/base_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb index 46982712ca..6cb120f28e 100755 --- a/activerecord/test/cases/base_test.rb +++ b/activerecord/test/cases/base_test.rb @@ -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 |