Skip to content

Commit 4ff7002

Browse files
committed
[test] require active_support/logger like Rails would
1 parent e5178ee commit 4ff7002

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/spec/ruby/jruby/rack/rails_booter_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,12 @@
169169
before(:all) do
170170
@active_support = defined? ::ActiveSupport
171171
@active_support = ::ActiveSupport.constants if @active_support
172+
require 'active_support/logger'
172173
end
173174

174175
after(:all) do
175176
if @active_support
176-
[:TaggedLogging, :LoggerSilence, :LoggerThreadSafeLevel].each do |name| # stubbed bits we might end up loading
177+
[:Logger, :TaggedLogging, :LoggerSilence, :LoggerThreadSafeLevel].each do |name| # stubbed bits we might end up loading
177178
ActiveSupport.send :remove_const, name unless @active_support.include?(name)
178179
end
179180
else

0 commit comments

Comments
 (0)