Skip to content

Commit

Permalink
Added support for simpler matchers when in Rails and bumped to 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiwren committed Apr 21, 2011
1 parent e58a302 commit bef7eb7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.rdoc
Expand Up @@ -22,12 +22,12 @@ This will make matchers such as the ones listed below available to you in your s

== Rails

If you're using Rails (and implicitly, rspec-rails), the same matchers will also be available in your controller specs '''without''' the <code>http</code> namespace. In other words, in your controller specs you can do:
If you're using Rails (and implicitly, rspec-rails), the same matchers will also be available in your controller specs *without* the <code>http</code> namespace. In other words, in your controller specs you can do:

response.should be_ok
response.should be_ok

response.should be_created
response.should be_created

response.should be_unprocessable_entity
response.should be_unprocessable_entity

response.should be_im_a_teapot
response.should be_im_a_teapot

0 comments on commit bef7eb7

Please sign in to comment.