README.md in mongoid-rspec-1.4.2 vs README.md in mongoid-rspec-1.4.3
- old
+ new
@@ -15,9 +15,11 @@
it { should reference_many :comments }
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) }
+ #can verify autosave is set to true
+ it { should have_many(:comments).with_autosave }
it { should embed_one :profile }
it { should reference_and_be_referenced_in_many(:children).of_type(User) }
it { should have_and_belong_to_many(:children) }
\ No newline at end of file