README.md in mongoid-rspec-1.8.1 vs README.md in mongoid-rspec-1.8.2
- old
+ new
@@ -60,9 +60,13 @@
describe Record do
it { should belong_to(:user).as_inverse_of(:record) }
end
+ describe Site do
+ it { should have_many(:users).as_inverse_of(:site).ordered_by(:email.asc) }
+ end
+
Mass Assignment Matcher
-
describe User do
it { should allow_mass_assignment_of(:login) }
it { should allow_mass_assignment_of(:email) }