aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-11-04 14:54:52 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2014-11-04 14:54:52 -0800
commit9dbcac78113808da23dfe1e3e7b0cc6a390e03be (patch)
treeed07c9da66a8c86df2a59cf7d29b303dbb3b0c20 /railties/test
parent0d5a384498296f005395d02943bd18e688aba436 (diff)
downloadrails-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.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