diff options
author | José Valim <jose.valim@gmail.com> | 2011-04-15 21:32:36 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-04-15 21:32:36 +0200 |
commit | 9982b5af94746263419c88668972b260d33a0770 (patch) | |
tree | 03317315ea36b7fa38def21baa6f8269c8defd03 /railties/lib | |
parent | d6bd606bddf8c385508aa4ee699bdd5f6eab635a (diff) | |
download | rails-9982b5af94746263419c88668972b260d33a0770.tar.gz rails-9982b5af94746263419c88668972b260d33a0770.tar.bz2 rails-9982b5af94746263419c88668972b260d33a0770.zip |
Fix missing test_helper.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/app_generator.rb | 3 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/test/test_helper.rb (renamed from railties/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt) | 0 |
2 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb index 93d6c1f827..8d74fe2c94 100644 --- a/railties/lib/rails/generators/rails/app/app_generator.rb +++ b/railties/lib/rails/generators/rails/app/app_generator.rb @@ -106,7 +106,8 @@ module Rails empty_directory_with_gitkeep "test/integration" empty_directory_with_gitkeep "test/unit" - copy_file "test/performance/browsing_test.rb" + template "test/performance/browsing_test.rb" + template "test/test_helper.rb" end def tmp diff --git a/railties/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt b/railties/lib/rails/generators/rails/app/templates/test/test_helper.rb index a8f7aeac7d..a8f7aeac7d 100644 --- a/railties/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/test/test_helper.rb |