Browse files

Merge pull request #52 from deepak/fixes

the set cookie method is defined for the response
  • Loading branch information...
2 parents 958abf2 + a523c87 commit 6b0833e75361ee2f3b070880d2e5d1e2f00fce90 @cypher cypher committed May 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 book/Testing.markdown
@@ -88,7 +88,7 @@ For example, add the following to your app to test against:
Use `set_cookie` for setting and removing cookies, and the access them in your response:
- set_cookie 'foo=bar'
+ response.set_cookie 'foo=bar'
get '/'
assert_equal 'Hello bar!', last_response.body

0 comments on commit 6b0833e

Please sign in to comment.