Explicit contracts for Rails - HTTP API RSpec usecase
in this article we will look at how to write tests when our application needs to make calls to 3rd party API using Test Contracts. Unlike Mocks, Test Contracts offers “fixture” like consistency across app while being easier to maintain than VCR gem “cassettes”
https://blog.eq8.eu/article/explicit-contracts-for-rails-http-api-usecase.html
Post a comment