Closed ondenman closed 7 years ago
This PR is in preparation of https://github.com/everypolitician/scraper_test/pull/16
install_tasks has grown quite long. #16 will add further lines of code to the method but doing so will cause it to fail rubocop's line count check.
install_tasks
This PR extracts the Results class which takes a yaml test file and returns the actual and expected data.
Results
I'm not sure if it's necessary but I've created a branch with a more suitable name and have opened a new PR. https://github.com/everypolitician/scraper_test/pull/18
This PR is in preparation of https://github.com/everypolitician/scraper_test/pull/16
install_tasks
has grown quite long. #16 will add further lines of code to the method but doing so will cause it to fail rubocop's line count check.This PR extracts the
Results
class which takes a yaml test file and returns the actual and expected data.