Skip to content

Commit d9f95b6

Browse files
committed
Don't test datetime with precision for mysql adapter
It will pass isolated test (test per file), but somehow created `t.datetime :written_on, precision: 6` causes any side effects and CI will be failed only mysql adapter. So I decided to skip datetime with precision tests for mysql adapter since the adapter has already been removed after 5.0, it is not worth to fix the side effects in 4-2-stable.
1 parent c27a0b3 commit d9f95b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/test/cases/helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def in_memory_db?
4646
end
4747

4848
def mysql_56?
49-
current_adapter?(:MysqlAdapter, :Mysql2Adapter) &&
49+
current_adapter?(:Mysql2Adapter) &&
5050
ActiveRecord::Base.connection.send(:version) >= '5.6.0'
5151
end
5252

0 commit comments

Comments
 (0)