aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/application/configuration_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb
index 2b9f1d9cc1..2b6eb3624a 100644
--- a/railties/test/application/configuration_test.rb
+++ b/railties/test/application/configuration_test.rb
@@ -66,10 +66,11 @@ module ApplicationTests
end
RUBY
add_to_top_of_config <<-RUBY
- equire 'my_logger'
+ require 'my_logger'
config.logger = MyLogger.new STDOUT
RUBY
require "#{app_path}/config/environment"
+ assert_equal 'MyLogger', Rails.application.config.logger.class.name
end
test "a renders exception on pending migration" do