diff options
author | Christian Wesselhoeft <christian@cwesselhoeft.com> | 2014-05-17 09:53:44 -0700 |
---|---|---|
committer | Christian Wesselhoeft <christian@cwesselhoeft.com> | 2014-05-17 09:53:44 -0700 |
commit | 75ba7425f6d235f254c00a45a58f42e88f80301a (patch) | |
tree | 88e35cb11cb2cb7d04f6ef785925b7cc5b49faba /railties/test | |
parent | 53c87195f014d280aa2aabf21858f4edba866cf6 (diff) | |
download | rails-75ba7425f6d235f254c00a45a58f42e88f80301a.tar.gz rails-75ba7425f6d235f254c00a45a58f42e88f80301a.tar.bz2 rails-75ba7425f6d235f254c00a45a58f42e88f80301a.zip |
Fix app generator test hanging.
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 007dd886da..4beb362ef9 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -119,7 +119,7 @@ class AppGeneratorTest < Rails::Generators::TestCase generator = Rails::Generators::AppGenerator.new ["rails"], { with_dispatchers: true }, destination_root: app_moved_root, shell: @shell generator.send(:app_const) - quietly { generator.send(:create_config_files) } + quietly { generator.send(:update_config_files) } assert_file "myapp_moved/config/environment.rb", /Rails\.application\.initialize!/ assert_file "myapp_moved/config/initializers/session_store.rb", /_myapp_session/ end @@ -134,7 +134,7 @@ class AppGeneratorTest < Rails::Generators::TestCase generator = Rails::Generators::AppGenerator.new ["rails"], { with_dispatchers: true }, destination_root: app_root, shell: @shell generator.send(:app_const) - quietly { generator.send(:create_config_files) } + quietly { generator.send(:update_config_files) } assert_file "myapp/config/initializers/session_store.rb", /_myapp_session/ end |