diff options
author | José Valim <jose.valim@gmail.com> | 2011-10-26 09:17:14 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-10-26 09:20:24 +0200 |
commit | 20c59dd214b771efd978c7b35b314a785ffc176a (patch) | |
tree | 324c8e1d7f6ab92c5a4d2036f9d681bebdbf2a1a /railties/test/application/rack/logger_test.rb | |
parent | 450257c95b0ca2c61eca2cefbcb2afd69e90f4a9 (diff) | |
download | rails-20c59dd214b771efd978c7b35b314a785ffc176a.tar.gz rails-20c59dd214b771efd978c7b35b314a785ffc176a.tar.bz2 rails-20c59dd214b771efd978c7b35b314a785ffc176a.zip |
Fix failing tests.
Diffstat (limited to 'railties/test/application/rack/logger_test.rb')
-rw-r--r-- | railties/test/application/rack/logger_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/test/application/rack/logger_test.rb b/railties/test/application/rack/logger_test.rb index 8b2b2f1802..387eb25525 100644 --- a/railties/test/application/rack/logger_test.rb +++ b/railties/test/application/rack/logger_test.rb @@ -12,6 +12,8 @@ module ApplicationTests build_app require "#{app_path}/config/environment" super + @logger = MockLogger.new + Rails.stubs(:logger).returns(@logger) end def teardown |