evansagge/mongoid-rspec — pull request #70 by rodrigopinto (2012-06-06 00:50:18+00:00)
Title: Add mass assignment matcher

I've added the AllowMassAssignmentMatcher extracted from shoulda-matcher.
https://github.com/thoughtbot/shoulda-matchers/blob/master/lib/shoulda/matchers/active_model/allow_mass_assignment_of_matcher.rb

I did it, because I prefer to explicit my whitelist and test it for future reasons. Actually, I know that mongoid every attribute is on white list until we define any one as protected or accessible.

Doesn't look good?