Browse files

Fix typo in Mechanize::TestCase that broke ruby 1.8.7

  • Loading branch information...
1 parent 563486a commit 3471f76a9489a9bb03659f35ff20f320f1f1519a @drbrain drbrain committed Nov 8, 2011
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)

0 comments on commit 3471f76

Please sign in to comment.