spec/unit/associations_spec.rb in mongoid-rspec-1.9.0 vs spec/unit/associations_spec.rb in mongoid-rspec-1.10.0
- old
+ new
@@ -6,10 +6,10 @@
it { should have_one(:record).with_autobuild }
it { should have_many(:comments).with_dependent(:destroy).with_autosave }
- it { should embed_one :profile }
+ it { should embed_one(:profile) }
it { should have_and_belong_to_many(:children).of_type(User) }
end
describe Profile do