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/rack | |
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/rack')
-rw-r--r-- | railties/test/application/rack/logger_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/test/application/rack/logger_test.rb b/railties/test/application/rack/logger_test.rb index 715af5c642..8b2b2f1802 100644 --- a/railties/test/application/rack/logger_test.rb +++ b/railties/test/application/rack/logger_test.rb @@ -14,6 +14,10 @@ module ApplicationTests super end + def teardown + teardown_app + end + def logs @logs ||= @logger.logged(:info) end |