ENV["RAILS_ENV"] ||= 'test' require 'spec_helper' require File.expand_path("../dummy/config/environment.rb", __FILE__) require 'rspec/rails' require 'factory_bot_rails' require 'vcr' RSpec.configure do |config| config.include FactoryBot::Syntax::Methods end VCR.configure do |c| c.cassette_library_dir = 'spec/vcr' c.hook_into :webmock c.allow_http_connections_when_no_cassette = true end