RubyFlow The Ruby and Rails community linklog

remarkable_mongoid

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in