Skip to content

ippy04/remarkable_mongo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Remarkable Matchers for MongoDB ORMs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%