yeastymobs / remarkable_mongomapper
- Source
- Commits
- Network (3)
- Issues (0)
- Downloads (3)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Tue Jul 28 01:50:13 -0700 2009 | |
| |
LICENSE | Tue Jul 28 01:50:13 -0700 2009 | |
| |
README.md | Fri Jul 31 06:26:58 -0700 2009 | |
| |
Rakefile | Wed Jul 29 07:03:22 -0700 2009 | |
| |
VERSION | Fri Jul 31 02:58:34 -0700 2009 | |
| |
lib/ | Fri Jul 31 06:26:58 -0700 2009 | |
| |
locales/ | Fri Jul 31 06:26:58 -0700 2009 | |
| |
remarkable_mongomapper.gemspec | Fri Jul 31 02:59:06 -0700 2009 | |
| |
spec/ | Fri Jul 31 06:26:58 -0700 2009 |
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
- Mathieu Fosse
- Vincent Hellot
