require "simplecov" SimpleCov.start do add_filter "spec" add_group "lib", "lib" end require "mundipagg" require "vcr" VCR.configure do |config| config.cassette_library_dir = "spec/fixtures/vcr_cassettes" config.hook_into :webmock config.configure_rspec_metadata! end I18n.enforce_available_locales = true RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true end config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end config.filter_run :focus config.run_all_when_everything_filtered = true config.disable_monkey_patching! config.warnings = true if config.files_to_run.one? config.default_formatter = "doc" end config.order = :random end