Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiwren committed Apr 6, 2011
1 parent 168a8cc commit 0899984
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.rdoc
@@ -1,9 +1,14 @@
= RSpec HTTP

RSpec HTTP is a RSpec extension library that adds support for writing specs that cover HTTP based APIs.
RSpec HTTP is a RSpec extension library that adds support for writing specs that cover HTTP based APIs.

To use this library, adding the rspec-http gem to your Gemfile and add the following line to your spec_helper.rb:
require 'rspec/http'

This will make matchers such as the ones listed below available to you in your specs.

response.should be_ok
response.should be_http_ok

response.should be_unprocessable_entity
response.should be_http_unprocessable_entity

response.should be_im_a_teapot
response.should be_http_im_a_teapot

0 comments on commit 0899984

Please sign in to comment.