aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2015-02-17 11:39:14 -0700
committerSean Griffin <sean@thoughtbot.com>2015-02-17 11:39:14 -0700
commitcdf4fa9d240d9137385021ebdac54238fb748a36 (patch)
tree2b9392da34c22b40862788a3ca1b2302a5e27495 /activerecord
parentafb70c2d85f7eea9d227f2078a2f6271e1dd2e56 (diff)
downloadrails-cdf4fa9d240d9137385021ebdac54238fb748a36.tar.gz
rails-cdf4fa9d240d9137385021ebdac54238fb748a36.tar.bz2
rails-cdf4fa9d240d9137385021ebdac54238fb748a36.zip
Fix test failures on Mysql 5.5
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/date_time_precision_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/date_time_precision_test.rb b/activerecord/test/cases/date_time_precision_test.rb
index eb9d05ae55..4602ba6d0d 100644
--- a/activerecord/test/cases/date_time_precision_test.rb
+++ b/activerecord/test/cases/date_time_precision_test.rb
@@ -1,7 +1,7 @@
require 'cases/helper'
require 'support/schema_dumping_helper'
-if current_adapter?(:Mysql2Adapter, :PostgreSQLAdapter)
+if mysql_56? || current_adapter?(:PostgreSQLAdapter)
class DateTimePrecisionTest < ActiveRecord::TestCase
include SchemaDumpingHelper
self.use_transactional_fixtures = false