mongoid-rspec
mongoid-rspec copied to clipboard
Make accept_nested_attributes_for accept options
I've had add a new matcher accepts_nested_attributes_for to test accepts_nested_attributes and respective options.
However, mongoid implementation is different from AR as I noticed and described here.Currently is not possible to access the options on the matcher and test them
I will work on some way to have options tested on this matcher in a near future.