From 9dbcac78113808da23dfe1e3e7b0cc6a390e03be Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 4 Nov 2014 14:54:52 -0800 Subject: add lib to $LOAD_PATH on application inhertence. fixes #17106 --- railties/test/application/configuration_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'railties/test') 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 -- cgit v1.2.3