diff options
author | Ken Collins <ken@metaskills.net> | 2017-01-15 21:33:47 -0500 |
---|---|---|
committer | Ken Collins <ken@metaskills.net> | 2017-01-16 08:58:04 -0500 |
commit | 984873003c4b0ac834f9fc1491629a8e7bcea364 (patch) | |
tree | 8c409677b055d89b4d67f28731c28a8745980358 /activerecord/test/cases/time_precision_test.rb | |
parent | f5d66cb3e5fc48c89c41c522804b70f3e5fcbc47 (diff) | |
download | rails-984873003c4b0ac834f9fc1491629a8e7bcea364.tar.gz rails-984873003c4b0ac834f9fc1491629a8e7bcea364.tar.bz2 rails-984873003c4b0ac834f9fc1491629a8e7bcea364.zip |
Allow SQLServerAdapter to opt into a few tests.
Diffstat (limited to 'activerecord/test/cases/time_precision_test.rb')
-rw-r--r-- | activerecord/test/cases/time_precision_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/time_precision_test.rb b/activerecord/test/cases/time_precision_test.rb index 03f6c234e8..09c585167e 100644 --- a/activerecord/test/cases/time_precision_test.rb +++ b/activerecord/test/cases/time_precision_test.rb @@ -68,7 +68,7 @@ if subsecond_precision_supported? assert_match %r{t\.time\s+"finish",\s+precision: 6$}, output end - if current_adapter?(:PostgreSQLAdapter) + if current_adapter?(:PostgreSQLAdapter, :SQLServerAdapter) def test_time_precision_with_zero_should_be_dumped @connection.create_table(:foos, force: true) do |t| t.time :start, precision: 0 |