Skip to content

Commit ffc6b64

Browse files
committed
Update SchemaCacheTest#schema_dump_path
* Use ASSETS_ROOT (defined in activerecord/test/config.rb) to guarantee a valid path to schema_dump_5_1.yml.
1 parent a4deb63 commit ffc6b64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/test/cases/connection_adapters/schema_cache_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def test_clear_data_source_cache
269269

270270
private
271271
def schema_dump_path
272-
"test/assets/schema_dump_5_1.yml"
272+
"#{ASSETS_ROOT}/schema_dump_5_1.yml"
273273
end
274274
end
275275
end

0 commit comments

Comments
 (0)