require 'rspec' require 'video_info' require 'vcr' if ENV['CI'] require 'coveralls' Coveralls.wear! end VCR.configure do |config| config.cassette_library_dir = 'spec/fixtures/vcr_cassettes' config.default_cassette_options = { record: :new_episodes, re_record_interval: 7 * 24 * 60 * 60 } config.hook_into :webmock config.configure_rspec_metadata! end RSpec.configure do |config| config.color_enabled = true config.filter_run focus: true config.run_all_when_everything_filtered = true config.treat_symbols_as_metadata_keys_with_true_values = true config.expect_with :rspec do |c| c.syntax = :expect end end