README.md in mongoid-rspec-1.6.0 vs README.md in mongoid-rspec-1.7.0

- old
+ new

@@ -25,10 +25,12 @@ - describe User do it { should have_many(:articles).with_foreign_key(:author_id) } it { should have_one(:record) } + #can verify autobuild is set to true + it { should have_one(:record).with_autobuild } it { should have_many :comments } #can also specify with_dependent to test if :dependent => :destroy/:destroy_all/:delete is set it { should have_many(:comments).with_dependent(:destroy) } @@ -163,9 +165,14 @@ it { should have_field(:published).of_type(Boolean).with_default_value_of(false) } it { should have_field(:allow_comments).of_type(Boolean).with_default_value_of(true) } it { should_not have_field(:allow_comments).of_type(Boolean).with_default_value_of(false) } it { should_not have_field(:number_of_comments).of_type(Integer).with_default_value_of(1) } end + +Known issues +- + +accept_nested_attributes_for matcher must test options [issue 91](https://github.com/evansagge/mongoid-rspec/issues/91). Acknowledgement - Thanks to [Durran Jordan](https://github.com/durran) for providing the changes necessary to make this compatible with mongoid 2.0.0.rc, and for other [contributors](https://github.com/evansagge/mongoid-rspec/contributors)