Skip to content

Commit

Permalink
Add delegate_method to README.
Browse files Browse the repository at this point in the history
  • Loading branch information
readeharris authored and drapergeek committed Oct 19, 2012
1 parent 760b7da commit 86169f0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -58,6 +58,14 @@ Matchers to test common patterns:
end end
end end


## Independent Matchers

Matchers to test non-Rails-related code:

describe Human do
it { should delegate_method(:work).to(:robot) }
end

## Installation ## Installation


In Rails 3 and Bundler, add the following to your Gemfile: In Rails 3 and Bundler, add the following to your Gemfile:
Expand Down

0 comments on commit 86169f0

Please sign in to comment.