Skip to content

Commit

Permalink
more words
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Feb 25, 2010
1 parent 0dcfce7 commit 38df36b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,8 @@ format for a request is:

# get action, params, headers
get :show, {:id => '37'}, {'HTTP_ACCEPT' => Mime::JS}

This works for `get`, `post`, `put`, `delete`, `head`.

After a request is made, you set expecttations on the `request` and `response`
objects.

0 comments on commit 38df36b

Please sign in to comment.