No commit activity in last 3 years
No release in over 3 years
MongoMapper Remarkable Matchers
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

mongomapper
~> 0.3.1
~> 3.1.8
 Project Readme

WARNING

The official repo has been moved to "http://github.com/nmerouze/remarkable_mongo":http://github.com/nmerouze/remarkable_mongo

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
  • Mathieu Fosse
  • Vincent Hellot