spec/support/mongoid.rb in mongoid-compatibility-0.3.1 vs spec/support/mongoid.rb in mongoid-compatibility-0.4.0
- old
+ new
@@ -6,9 +6,11 @@
Mongoid.load! 'spec/config/mongoid3.yml'
elsif Mongoid::Compatibility::Version.mongoid4?
Mongoid.load! 'spec/config/mongoid4.yml'
elsif Mongoid::Compatibility::Version.mongoid5?
Mongoid.load! 'spec/config/mongoid5.yml'
+elsif Mongoid::Compatibility::Version.mongoid6?
+ Mongoid.load! 'spec/config/mongoid6.yml'
else
fail "unsupported Mongoid version #{Mongoid::VERSION}"
end
RSpec.configure do |config|