Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix typo in Mechanize::TestCase that broke ruby 1.8.7

  • Loading branch information...
commit 3471f76a9489a9bb03659f35ff20f320f1f1519a 1 parent 563486a
@drbrain drbrain authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/mechanize/test_case.rb
View
2  lib/mechanize/test_case.rb
@@ -69,7 +69,7 @@ def node element, attributes = {}
end
def page uri, content_type = 'text/html', body = '', code = 200
- uri = URI uri unless URI::Generic === URI
+ uri = URI uri unless URI::Generic === uri
Mechanize::Page.new(uri, { 'content-type' => content_type }, body, code,
@mech)
Please sign in to comment.
Something went wrong with that request. Please try again.