Sha256: 127412435fd1020733130f046cd6abcb7c2fd8444aadc0ba840931d1103c320a

Contents?: true

Size: 610 Bytes

Versions: 2

Compression:

Stored size: 610 Bytes

Contents

# Remarkable MongoMapper

Remarkable matchers for [MongoMapper](http://github.com/jnunemaker/mongomapper).

## Matchers

<pre><code>
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) }
</code></pre>

## Contributions

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

## Contributors

* Nicolas Mérouze
* Mathieu Fosse
* Vincent Hellot

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yeastymobs-remarkable_mongomapper-0.1.0 README.md
yeastymobs-remarkable_mongomapper-0.1.1 README.md