Skip to content

Commit 855258a

Browse files
committed
Fix Ruby 3.0+ compatibility in test suite
Ruby 3.0 no longer auto-loads Logger from the standard library. ActiveSupport 6.1 expects it to be available, causing tests to fail with "uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger".
1 parent dba0f38 commit 855258a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

spec/rails_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
ENV['RAILS_ENV'] ||= 'test'
22

3+
require 'logger'
34
require 'combustion'
45
Combustion.initialize!(:active_record, :action_controller, :action_view, :sprockets)
56

0 commit comments

Comments
 (0)