Browse files

Update README.

  • Loading branch information...
1 parent 221f1a4 commit 850451241c1ae1fd932e9ae9ff01d6a8a30280fd @nmerouze nmerouze committed Jul 29, 2009
Showing with 23 additions and 1 deletion.
  1. +23 −1 README.md
View
24 README.md
@@ -1 +1,23 @@
-Remarkable matchers for [MongoMapper](http://github.com/jnunemaker/mongomapper).
+# Remarkable MongoMapper
+
+Remarkable matchers for [MongoMapper](http://github.com/jnunemaker/mongomapper).
+
+## Matchers
+
+<pre><code>
+it { should have_key(:name, :type => String) }
+it { should have_keys(:name, :phone_number, :type => 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

0 comments on commit 8504512

Please sign in to comment.