aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorKir Shatrov <shatrov@me.com>2016-11-13 22:18:14 -0500
committerKir Shatrov <shatrov@me.com>2016-11-27 22:09:58 -0500
commit4c00c6ed230e6fdc6199dfba43f6da1e741a02aa (patch)
tree6bbbc866f6c9061bd63ef45d5279c6e14d612654 /railties/test
parent6d6249b1c1abda4f62fafcc42a7ece570c8da7e9 (diff)
downloadrails-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.rb4
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