diff options
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 |