At the moment scraper_test cannot test any object that returns other
Scraped::Document objects in its to_h data.
This PR replaces any Scraped::Document subclasses contained in the subject's to_h data with their own to_h data before comparing the result to the YAML file.
WIP!
Fixes: #14
At the moment scraper_test cannot test any object that returns other Scraped::Document objects in its to_h data.
This PR replaces any Scraped::Document subclasses contained in the subject's
to_h
data with their ownto_h
data before comparing the result to the YAML file.