… said it was :ignore_cassette, singular. This makes it nicer when you run into this problem :)
- Rename it to :ignore_cassettes--I think this is more intention-revealing. - Ensure `insert_cassette` does not actually insert a cassette when VCR is turned off with :ignore_cassettes => true. - No need for `use_cassette` to handle this since `insert_cassette` handles it properly now. - Add additional specs. - Fix cassette insertion error message so it mentions the new :ignore_cassettes option.
…ing values. Closes #40.
- Typhoeus would have a single header value like 'text/html' when recording, but it was in an array on playback ['text/html']. - Faraday headers are returned with lower case keys, and I was not handling this properly at all. There are a few adapter/http library combinations that do not work properly when there are multiple values for one header: - Faraday/Patron - WebMock/HTTP Client - WebMock/EM HTTP Request - WebMock/Curb I think this is due to a bug in those libraries. I could change the way I pass headers to Faraday and WebMock, but that would break the other libs used with Faraday and WebMock (i.e. Faraday/Net::HTTP or WebMock/Net::HTTP) so I think it's best for now to just leave these pending. Closes #50.
Unfortunately, cucumber doesn't run background steps within the Around hook. Closes #45.