mongoid/mongoid-rspec

Make accept_nested_attributes_for accept options

rodrigopinto opened this issue · 0 comments

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.