File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -1184,6 +1184,19 @@ class CollectionCacheKeyTest < ActiveRecord::TestCase
1184
1184
1185
1185
1186
1186
1187
+ module ActiveRecord
1188
+ class CacheKeyTest < ActiveRecord ::TestCase
1189
+ # Like Mysql2 and PostgreSQL, SQL Server doesn't return a string value for updated_at. In the Rails tests
1190
+ # the tests are skipped if adapter is Mysql2 or PostgreSQL.
1191
+ coerce_tests! %r{cache_version is the same when it comes from the DB or from the user}
1192
+ coerce_tests! %r{cache_version does NOT call updated_at when value is from the database}
1193
+ coerce_tests! %r{cache_version does not truncate zeros when timestamp ends in zeros}
1194
+ end
1195
+ end
1196
+
1197
+
1198
+
1199
+
1187
1200
require "models/book"
1188
1201
module ActiveRecord
1189
1202
class StatementCacheTest < ActiveRecord ::TestCase
You can’t perform that action at this time.
0 commit comments