We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 349e5ca commit cac4c60Copy full SHA for cac4c60
spec/lite_spec_helper.rb
@@ -157,6 +157,13 @@ class ExampleTimeout < StandardError; end
157
end
158
159
if SpecConfig.instance.active_support?
160
+ require "active_support/version"
161
+ if ActiveSupport.version >= Gem::Version.new(7)
162
+ # ActiveSupport wants us to require ALL of it all of the time.
163
+ # See: https://github.com/rails/rails/issues/43851,
164
+ # https://github.com/rails/rails/issues/43889, etc.
165
+ require 'active_support'
166
+ end
167
require "active_support/time"
168
require 'mongo/active_support'
169
0 commit comments