spec/support/adapters/mongoid.rb in rolify-3.2.0.rc2 vs spec/support/adapters/mongoid.rb in rolify-3.2.0

- old
+ new

@@ -1,8 +1,12 @@ require 'mongoid' Mongoid.load!("spec/support/adapters/mongoid.yml", :test) +RSpec.configure do |config| + config.include Mongoid::Matchers +end + ::Mongoid::Document.module_eval do def self.included(base) base.extend Rolify end end