//
archives

rspec

This category contains 1 post

Association testing in rspec with MongoMapper

As far as I know, MongoMapper is currently not able to handle association tests for rspec/shoulda, such as most common belongs_to, has_many, has_one. I think they are working on it, but it’s not there yet. I wrote a hack to work with MongoMapper, so far it’s able to handle my simple belongs_to association, and my … Continue reading