remarkable_mongoid
I took some time this morning to gemify my gist from earlier this week. Includes validation and association matchers.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
I took some time this morning to gemify my gist from earlier this week. Includes validation and association matchers.
Comments
I realize that mongoid-rspec already exists but I wanted something that depended upon a common ActiveModel validation library. Shoulda’s is tightly coupled with their ActiveRecord module. So using Remarkable’s ActiveModel validation matchers made sense.
Forgot to mention, it is pretty much living on the edge. Requires 2.0 beta of Mongoid and 4.0 alpha or Remarkable/ActiveModel.
Post a comment