Skip to content

Commit cf31fb1

Browse files
committed
Allow specs to run in Rails 6.0/7.1
1 parent ffb19f6 commit cf31fb1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/rails_helper.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
require 'spec_helper'
2+
# Requiring logger fixes an issue between concurrent-ruby and activesupport in Rails < 7.1
3+
# https://github.com/rails/rails/issues/54260
4+
require 'logger'
25
ENV['RAILS_ENV'] ||= 'test'
36

47
require File.expand_path('../dummy/config/environment', __FILE__)

0 commit comments

Comments
 (0)