Permalink
Browse files

Fix last_response.header to last_response.headers

Signed-off-by: Simon Rozet <simon@rozet.name>
  • Loading branch information...
1 parent 813dc52 commit 3d0eb286b7c04bf12b8e4ad39d1e6100268f0dfb @ai ai committed with sr Jun 24, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 testing.markdown
View
@@ -132,7 +132,7 @@ Consider the following examples:
def test_it_says_hello_world
get '/'
assert last_response.ok?
- assert_equal 'Hello World'.length.to_s, last_response.header['Content-Length']
+ assert_equal 'Hello World'.length.to_s, last_response.headers['Content-Length']
assert_equal 'Hello World', last_response.body
end

0 comments on commit 3d0eb28

Please sign in to comment.