Skip to content

Commit

Permalink
Change string to something actually in the page
Browse files Browse the repository at this point in the history
  • Loading branch information
henare committed Apr 11, 2016
1 parent eff44be commit 07c612d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.rb
Expand Up @@ -7,7 +7,7 @@
# Check that mitmproxy gives a working certificate for SSL connections
# If the certificate isn't valid it should throw an exception
open("https://morph.io") do |f|
raise "Unexpected result" unless f.read.include?("Take the hassle out of web scraping")
raise "Unexpected result" unless f.read.include?("Hassle-free web scraping.")
end
# Check that output streaming works (in which case you should see each line one second apart
# rather than getting all the lines at the end)
Expand Down

0 comments on commit 07c612d

Please sign in to comment.