lib/mongoid/rspec.rb in mongoid-rspec-4.0.1 vs lib/mongoid/rspec.rb in mongoid-rspec-4.1.0

- old
+ new

@@ -4,10 +4,10 @@ require 'mongoid-compatibility' require 'rspec/core' require 'rspec/expectations' require 'rspec/mocks' require 'active_support/core_ext/hash/keys' -require 'active_support/core_ext/hash/transform_values' if Mongoid::Compatibility::Version.mongoid4_or_newer? +require 'active_support/core_ext/hash/transform_values' if Mongoid::Compatibility::Version.mongoid4_or_newer? && ActiveSupport.version < Gem::Version.new('6') require 'active_support/core_ext/object/blank' require 'active_support/core_ext/string/inflections' require 'matchers/associations' require 'matchers/allow_mass_assignment'