Currently the gem assumes that the traveline site is always available. Since we're scraping we can't afford to make this assumption.
We need to deal gracefully with failures or a change in the layout of the page. At the very least, add a test which will fail CI if the data returned isn't what is expected.
Currently the gem assumes that the traveline site is always available. Since we're scraping we can't afford to make this assumption.
We need to deal gracefully with failures or a change in the layout of the page. At the very least, add a test which will fail CI if the data returned isn't what is expected.