Closed db0sch closed 7 years ago
for api calls => VCR cassettes github : https://github.com/vcr/vcr stackoverflow: https://stackoverflow.com/questions/28951791/using-vcr-with-rspec-in-feature-scenarios
Some articles about Services object : http://brewhouse.io/blog/2014/04/30/gourmet-service-objects.html https://stackoverflow.com/questions/40804634/rspec-require-extra-test-folder-with-pure-ruby https://blog.engineyard.com/2014/keeping-your-rails-controllers-dry-with-services https://www.netguru.co/blog/service-objects-in-rails-will-help https://github.com/rspec/rspec-mocks
Write test for IndeedApi with different situation :