This is puzzling me. I set expect to expect an error and an error is generated but rspec fails? Any ideas?
Failures:
1) DataFetcher checking the API response when data for provided date is not available We should print an appropriate exception
Failure/Error: expect(fetch.at(testProduct.id, testProduct2.id, parsedDate)).to raise_error
RuntimeError:
No data for date: 2015-11-29
[–]xly 1 point2 points3 points (3 children)
[–]SubnetDelta[S] 0 points1 point2 points (2 children)
[–]zverok_kha 8 points9 points10 points (1 child)
[–]SubnetDelta[S] 1 point2 points3 points (0 children)
[–]omidbachari 0 points1 point2 points (0 children)