Closed HarlemSquirrel closed 8 years ago
I just added a commit to my fork that changes the URLs in the spec to be relative and now that test passes.
thanks for raising this @HarlemSquirrel. We'll look into this soon.
hey @HarlemSquirrel,
Your scraper method that scrapes the index URL actually needs to add the full URL path to the scraped relative path. The test is actually testing the correct functionality. I'm going to close the issue. Let me know if you have any questions
So when I scrape the index.html page I get relative URLs like
students/diane-vu.html
butrspec/scraper_spec.rb
expectshttp://127.0.0.1:4000/students/diane-vu.html