Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed unit test

  • Loading branch information...
commit a8bf26b81b6ddf32972d7f133a09a18bfd705f75 1 parent de98054
@flavio flavio authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  test/basic_test.rb
3  test/basic_test.rb
@@ -11,13 +11,12 @@ def setup
def test_it_by_watching
url = ""
- uri = URI.parse url
log =
net_logger = log
reply = File.dirname(__FILE__), "mocked_responses", "wikipedia"))
html_body = reply[reply.index("<html>")..reply.size]
- log.expects(:info).with(regexp_matches(/get request for url http?:\/\/#{}:#{uri.port}#{uri.path}\?#{uri.query} with method: GET with body /)).once
+ log.expects(:info).with("get request for url #{url} with method: GET with body ").once
# make sure response contents are printed too
Please sign in to comment.
Something went wrong with that request. Please try again.