README.md in mongoid-rspec-1.9.0 vs README.md in mongoid-rspec-1.10.0
- old
+ new
@@ -16,11 +16,11 @@
gem 'mongoid-rspec'
Drop in existing or dedicated support file in spec/support (spec/support/mongoid.rb)
```ruby
-RSpec.configure do |configuration|
- configuration.include Mongoid::Matchers
+RSpec.configure do |config|
+ config.include Mongoid::Matchers, type: :model
end
```
Association Matchers
-