Skip to content

Commit 76e1bc9

Browse files
committed
Require logger explicitly in specs
1 parent 0e2ae38 commit 76e1bc9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

spec/spec_helper.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
# frozen_string_literal: true
22

33
# Standard Libs
4-
# N/A
4+
5+
# Explicit requiring the "logger" library is needed for Rails 6.0-7.0
6+
# See the following for details:
7+
# - https://github.com/rails/rails/issues/54260
8+
# - https://github.com/rails/rails/pull/49372
9+
require 'logger'
510

611
# Third Party Libs
712
# https://guides.rubyonrails.org/active_support_core_extensions.html#stand-alone-active-support

0 commit comments

Comments
 (0)