Skip to content
Browse files

RDoc tweak

  • Loading branch information...
1 parent 8db578d commit f79784993ca4c6ff7e0fa4aaca36b47881af2d62 @brynary brynary committed Mar 4, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/rack/test.rb
View
3 lib/rack/test.rb
@@ -113,7 +113,8 @@ def authorize(username, password)
header('HTTP_AUTHORIZATION', "Basic #{encoded_login}")
end
- # Follow the redirect returned in the last response. If the last
+ # Rack::Test will not follow any redirects automatically. This method
+ # will follow the redirect returned in the last response. If the last
# response was not a redirect, an error will be raised.
def follow_redirect!
unless last_response.redirect?

0 comments on commit f797849

Please sign in to comment.
Something went wrong with that request. Please try again.