spec/spec_helper.rb in patch_ruby-1.0.0.pre vs spec/spec_helper.rb in patch_ruby-1.0.0
- old
+ new
@@ -10,11 +10,10 @@
=end
# load the gem
require 'patch_ruby'
-require 'vcr'
# The following was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# The generated `.rspec` file contains `--require spec_helper` which will cause
# this file to always be loaded, without a need to explicitly require it in any
@@ -107,16 +106,6 @@
# Setting this allows you to use `--seed` to deterministically reproduce
# test failures related to randomization by passing the same `--seed` value
# as the one that triggered the failure.
Kernel.srand config.seed
=end
-
- # VCR
- VCR.configure do |config|
- config.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
- config.hook_into :typhoeus
- # Filter out API tokens from VCR cassettes so they aren't committed to source control
- config.filter_sensitive_data('<AUTH>') do |interaction|
- interaction.request.headers['Authorization'].first
- end
- end
end