diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-11-04 14:54:52 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-11-04 14:54:52 -0800 |
commit | 9dbcac78113808da23dfe1e3e7b0cc6a390e03be (patch) | |
tree | ed07c9da66a8c86df2a59cf7d29b303dbb3b0c20 /railties/test | |
parent | 0d5a384498296f005395d02943bd18e688aba436 (diff) | |
download | rails-9dbcac78113808da23dfe1e3e7b0cc6a390e03be.tar.gz rails-9dbcac78113808da23dfe1e3e7b0cc6a390e03be.tar.bz2 rails-9dbcac78113808da23dfe1e3e7b0cc6a390e03be.zip |
add lib to $LOAD_PATH on application inhertence. fixes #17106
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/configuration_test.rb | 3 |
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 |