I'm seeing a problem with the following lines in scraper_spec.rb:
let!(:student_index_array) {[{:name=>"Joe Burgess", :location=>"New York, NY", :profile_url=>"./fixtures/student-site/students/joe-burgess.html"},
{:name=>"Mathieu Balez", :location=>"New York, NY", :profile_url=>"./fixtures/student-site/students/mathieu-balez.html"},
{:name=>"Diane Vu", :location=>"New York, NY", :profile_url=>"./fixtures/student-site/students/diane-vu.html"}]}
When I extract the web page XML it is showing the urls as students/student-name.html
The way the directory structure is organized this would be the correct path to get to the student profiles. The other path is relative to the test file.
When I changed the tests to point to the new path it passed. Do these lines need to be updated?
I'm seeing a problem with the following lines in scraper_spec.rb:
let!(:student_index_array) {[{:name=>"Joe Burgess", :location=>"New York, NY", :profile_url=>"./fixtures/student-site/students/joe-burgess.html"},
{:name=>"Mathieu Balez", :location=>"New York, NY", :profile_url=>"./fixtures/student-site/students/mathieu-balez.html"},
{:name=>"Diane Vu", :location=>"New York, NY", :profile_url=>"./fixtures/student-site/students/diane-vu.html"}]}
When I extract the web page XML it is showing the urls as students/student-name.html
The way the directory structure is organized this would be the correct path to get to the student profiles. The other path is relative to the test file.
When I changed the tests to point to the new path it passed. Do these lines need to be updated?