Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Remarkable Matchers for MongoDB ORMs - Posted here with RSpec2 support since kaid's repo is no longer available
Ruby
tag: v0.1.3

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/remarkable
locales
spec
.gitignore
LICENSE
README.md
Rakefile
VERSION
remarkable_mongo.gemspec

README.md

Remarkable MongoMapper

Remarkable matchers for MongoMapper.

Matchers

it { should have_key(:name, String) }
it { should have_keys(:name, :phone_number, String) }
it { should validate_presence_of(:name, :phone_number, :message => "not there!") }
it { should belong_to(:user, :class_name => 'Person') }
it { should have_many(:users, :class_name => 'Person', :polymorphic => true) }

TODO

  • Finish validate_length_of

Contributions

It is far from complete! It'd be very helpful to have some help.

Contributors

  • Nicolas Mérouze
Something went wrong with that request. Please try again.