diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-07-17 09:51:22 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-07-17 09:51:22 +0200 |
commit | c212cfecb177338db21d2ecebbb66aa0787974f4 (patch) | |
tree | 05b9cf017096721f5f6980c8dbf192efceea4d13 /activerecord/test | |
parent | 6356d42093b10866f18d7bb21c442f1ccbd3c96c (diff) | |
download | rails-c212cfecb177338db21d2ecebbb66aa0787974f4.tar.gz rails-c212cfecb177338db21d2ecebbb66aa0787974f4.tar.bz2 rails-c212cfecb177338db21d2ecebbb66aa0787974f4.zip |
Revert "Merge pull request #11120 from awilliams/ar_mysql2_boolean_quoting"
This reverts commit cb1d07e43926bcec95cb8b4a663ca9889173395a, reversing
changes made to 754a373e301d2df0b12a11083405252722bc8366.
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/adapters/mysql2/quoting_test.rb | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/activerecord/test/cases/adapters/mysql2/quoting_test.rb b/activerecord/test/cases/adapters/mysql2/quoting_test.rb deleted file mode 100644 index 90157b088b..0000000000 --- a/activerecord/test/cases/adapters/mysql2/quoting_test.rb +++ /dev/null @@ -1,25 +0,0 @@ -require "cases/helper" - -module ActiveRecord - module ConnectionAdapters - class Mysql2Adapter - class QuotingTest < ActiveRecord::TestCase - def setup - @conn = ActiveRecord::Base.connection - end - - def test_type_cast_true - c = Column.new(nil, 1, 'boolean') - assert_equal 1, @conn.type_cast(true, nil) - assert_equal 1, @conn.type_cast(true, c) - end - - def test_type_cast_false - c = Column.new(nil, 1, 'boolean') - assert_equal 0, @conn.type_cast(false, nil) - assert_equal 0, @conn.type_cast(false, c) - end - end - end - end -end |