I have a rails app with some rspec feature tests. This app Alice works in tandem with another program Bob
When i want to use Bob, i create a json file in a specific url with instructions in my Alice app. Bob then fetches this json file with HTTP get, does its function and use HTTP post to give the results back to Alice.
I want to use vcr to create http fixtures, how can i fake Bob's behavior in my tests ?
- HTTP get on the json url
- HTTP post with the results
Is it possible to tell vcr to wait for http requests ?