diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-06-06 13:54:05 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-06-06 13:54:05 +0100 |
commit | 62570e8626c67f9d38b28246304b938aab9d9fbe (patch) | |
tree | 4ec99ea7f7c583423dd3eafa68d74e52c3b5db41 /railties/test/application/configuration_test.rb | |
parent | 2d3ba54b86a7307d01fbe364ed831de428cabeba (diff) | |
download | rails-62570e8626c67f9d38b28246304b938aab9d9fbe.tar.gz rails-62570e8626c67f9d38b28246304b938aab9d9fbe.tar.bz2 rails-62570e8626c67f9d38b28246304b938aab9d9fbe.zip |
Solve the RAILS_ENV problem in the railties tests in a more generic way
Diffstat (limited to 'railties/test/application/configuration_test.rb')
-rw-r--r-- | railties/test/application/configuration_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb index 0e27c9606d..e2c996364f 100644 --- a/railties/test/application/configuration_test.rb +++ b/railties/test/application/configuration_test.rb @@ -35,6 +35,10 @@ module ApplicationTests end def teardown + teardown_app + end + + def teardown FileUtils.rm_rf(new_app) if File.directory?(new_app) end |