spec/spec_helper.rb in wirecard_sepa-0.0.5 vs spec/spec_helper.rb in wirecard_sepa-0.1.0
- old
+ new
@@ -28,12 +28,18 @@
1
else
THIRTY_DAYS_IN_SECONDS = 60 * 60 * 24 * 30
end
config.default_cassette_options = {
- re_record_interval: cache_timeout
+ re_record_interval: cache_timeout,
+ record: :new_episodes,
+ # TODO: This currently leads to ALL requests being unique, since
+ # we set each time a separate request-id. This makes recording/replaying
+ # request pretty useless :)
+ # match_requests_on: [:method, :uri, :body],
}
config.cassette_library_dir = "spec/support/fixtures/vcr"
+ config.allow_http_connections_when_no_cassette = true
config.hook_into :typhoeus
end
require 'wirecard_sepa'