Browse files

Add delegate_method to README.

  • Loading branch information...
1 parent 760b7da commit 86169f02db0255aa034101d16d1f27dc22de11db @readeharris readeharris committed with drapergeek Oct 16, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 README.md
View
8 README.md
@@ -58,6 +58,14 @@ Matchers to test common patterns:
end
end
+## Independent Matchers
+
+Matchers to test non-Rails-related code:
+
+ describe Human do
+ it { should delegate_method(:work).to(:robot) }
+ end
+
## Installation
In Rails 3 and Bundler, add the following to your Gemfile:

0 comments on commit 86169f0

Please sign in to comment.