spec/spec_helper.rb in wirecard_sepa-0.0.3 vs spec/spec_helper.rb in wirecard_sepa-0.0.4
- old
+ new
@@ -1,7 +1,8 @@
require 'simplecov'
require 'byebug'
+require 'vcr'
# FIXME
# SimpleCov.adapters.define 'gem' do
# add_filter '/spec/'
# add_filter '/autotest/'
@@ -18,8 +19,13 @@
http_auth_username: '70000-APITEST-AP',
http_auth_password: 'qD2wzQ_hrc!8',
merchant_account_id: '4c901196-eff7-411e-82a3-5ef6b6860d64',
creditor_id: 'DE00000000000000000000',
})
+end
+
+VCR.configure do |config|
+ config.cassette_library_dir = "spec/support/fixtures/vcr"
+ config.hook_into :typhoeus
end
require 'wirecard_sepa'