diff options
author | Sean Griffin <sean@thoughtbot.com> | 2015-02-17 11:15:36 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2015-02-17 11:15:36 -0700 |
commit | afb70c2d85f7eea9d227f2078a2f6271e1dd2e56 (patch) | |
tree | 25fbffd44e729b783c82a2d7c03a349023e16a3d /activerecord | |
parent | 89ba5bb45622394a33a196398671a0ff1737cd3e (diff) | |
download | rails-afb70c2d85f7eea9d227f2078a2f6271e1dd2e56.tar.gz rails-afb70c2d85f7eea9d227f2078a2f6271e1dd2e56.tar.bz2 rails-afb70c2d85f7eea9d227f2078a2f6271e1dd2e56.zip |
Update code which depended on methods added by 1502caef
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/date_time_precision_test.rb | 2 |
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 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 |