File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
activerecord/test/cases/connection_adapters Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -302,12 +302,12 @@ def test_gzip_dumps_identical
302
302
# Create an empty cache.
303
303
cache = new_bound_reflection
304
304
305
- tempfile_a = Tempfile . new ( [ "schema_cache-" , ".dump .gz" ] )
305
+ tempfile_a = Tempfile . new ( [ "schema_cache-" , ".yml .gz" ] )
306
306
# Dump it. It should get populated before dumping.
307
307
cache . dump_to ( tempfile_a . path )
308
308
digest_a = Digest ::MD5 . file ( tempfile_a ) . hexdigest
309
309
sleep ( 1 ) # ensure timestamp changes
310
- tempfile_b = Tempfile . new ( [ "schema_cache-" , ".dump .gz" ] )
310
+ tempfile_b = Tempfile . new ( [ "schema_cache-" , ".yml .gz" ] )
311
311
# Dump it. It should get populated before dumping.
312
312
cache . dump_to ( tempfile_b . path )
313
313
digest_b = Digest ::MD5 . file ( tempfile_b ) . hexdigest
You can’t perform that action at this time.
0 commit comments