From afb70c2d85f7eea9d227f2078a2f6271e1dd2e56 Mon Sep 17 00:00:00 2001 From: Sean Griffin Date: Tue, 17 Feb 2015 11:15:36 -0700 Subject: Update code which depended on methods added by 1502caef --- activerecord/test/cases/date_time_precision_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/test/cases/date_time_precision_test.rb b/activerecord/test/cases/date_time_precision_test.rb index 720f10a9d3..eb9d05ae55 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 ActiveRecord::Base.connection.supports_datetime_with_precision? +if current_adapter?(:Mysql2Adapter, :PostgreSQLAdapter) class DateTimePrecisionTest < ActiveRecord::TestCase include SchemaDumpingHelper self.use_transactional_fixtures = false -- cgit v1.2.3