aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/attribute_methods_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2015-09-20 05:00:48 +0900
committerRyuta Kamizono <kamipo@gmail.com>2015-09-20 05:14:49 +0900
commitee2dae4c8f38ae6454c3078421c71413fffef6a6 (patch)
tree6b649c5a74dad2a3d852f6a7a15444b49e99a383 /activerecord/test/cases/attribute_methods_test.rb
parent44e5ebf688f062bb38501c8de817e0d484999001 (diff)
downloadrails-ee2dae4c8f38ae6454c3078421c71413fffef6a6.tar.gz
rails-ee2dae4c8f38ae6454c3078421c71413fffef6a6.tar.bz2
rails-ee2dae4c8f38ae6454c3078421c71413fffef6a6.zip
Should test both mysql adapters
Some test cases are testing only mysql adapter. We should test mysql2 adapter also.
Diffstat (limited to 'activerecord/test/cases/attribute_methods_test.rb')
-rw-r--r--activerecord/test/cases/attribute_methods_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/attribute_methods_test.rb b/activerecord/test/cases/attribute_methods_test.rb
index e2608e3670..b67201d94d 100644
--- a/activerecord/test/cases/attribute_methods_test.rb
+++ b/activerecord/test/cases/attribute_methods_test.rb
@@ -175,7 +175,7 @@ class AttributeMethodsTest < ActiveRecord::TestCase
assert_equal category_attrs , category.attributes_before_type_cast
end
- if current_adapter?(:MysqlAdapter)
+ if current_adapter?(:MysqlAdapter, :Mysql2Adapter)
def test_read_attributes_before_type_cast_on_boolean
bool = Boolean.create({ "value" => false })
if RUBY_PLATFORM =~ /java/