diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-12-13 11:59:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-13 11:59:45 -0500 |
commit | ddf81c5aa5cd29598e7fdd79842ed906c8de76e1 (patch) | |
tree | 4f6ee22b28b5e561229098f63f2d75ea3adbdd9f /railties/test | |
parent | 04dd8b7ac7ba82843de77ece3c96124c3b3dc365 (diff) | |
parent | 4c00c6ed230e6fdc6199dfba43f6da1e741a02aa (diff) | |
download | rails-ddf81c5aa5cd29598e7fdd79842ed906c8de76e1.tar.gz rails-ddf81c5aa5cd29598e7fdd79842ed906c8de76e1.tar.bz2 rails-ddf81c5aa5cd29598e7fdd79842ed906c8de76e1.zip |
Merge pull request #27042 from kirs/yaml-schema-cache
Schema cache in YAML
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 |