diff options
author | Kir Shatrov <shatrov@me.com> | 2016-11-13 22:18:14 -0500 |
---|---|---|
committer | Kir Shatrov <shatrov@me.com> | 2016-11-27 22:09:58 -0500 |
commit | 4c00c6ed230e6fdc6199dfba43f6da1e741a02aa (patch) | |
tree | 6bbbc866f6c9061bd63ef45d5279c6e14d612654 /railties/test | |
parent | 6d6249b1c1abda4f62fafcc42a7ece570c8da7e9 (diff) | |
download | rails-4c00c6ed230e6fdc6199dfba43f6da1e741a02aa.tar.gz rails-4c00c6ed230e6fdc6199dfba43f6da1e741a02aa.tar.bz2 rails-4c00c6ed230e6fdc6199dfba43f6da1e741a02aa.zip |
Use YAML to serialize schema cache
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/rake_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/rake_test.rb b/railties/test/application/rake_test.rb index cd09270df1..d80a45a83f 100644 --- a/railties/test/application/rake_test.rb +++ b/railties/test/application/rake_test.rb @@ -387,14 +387,14 @@ module ApplicationTests bin/rails generate model product name:string; bin/rails db:migrate db:schema:cache:dump` end - assert File.exist?(File.join(app_path, "db", "schema_cache.dump")) + assert File.exist?(File.join(app_path, "db", "schema_cache.yml")) end def test_rake_clear_schema_cache Dir.chdir(app_path) do `bin/rails db:schema:cache:dump db:schema:cache:clear` end - assert !File.exist?(File.join(app_path, "db", "schema_cache.dump")) + assert !File.exist?(File.join(app_path, "db", "schema_cache.yml")) end def test_copy_templates |