spec/spec_helper.rb in eucalyptus-0.1.0 vs spec/spec_helper.rb in eucalyptus-0.2.0
- old
+ new
@@ -1,24 +1,8 @@
require 'dotenv'
Dotenv.load
-require 'simplecov'
-
-module SimpleCov::Configuration
- def clean_filters
- @filters = []
- end
-end
-
-SimpleCov.configure do
- clean_filters
- load_adapter 'test_frameworks'
-end
-
-ENV["COVERAGE"] && SimpleCov.start do
- add_filter "/.rvm/"
-end
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'vcr'
@@ -27,10 +11,10 @@
require 'pry'
VCR.configure do |config|
config.cassette_library_dir = "fixtures/vcr_cassettes"
config.hook_into :webmock
- config.default_cassette_options = {record: :all}
+ config.default_cassette_options = {record: :new_episodes}
config.filter_sensitive_data('<TOKEN>') { ENV['ACCESS_TOKEN'] }
end
# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.