Sha256: d6d6e340e89acbcf69bc1ad3df59be68c209b5929791eb27e52eb5afc7577ce9

Contents?: true

Size: 814 Bytes

Versions: 3

Compression:

Stored size: 814 Bytes

Contents

# frozen_string_literal: true

require "bundler/setup"
require "fileutils"
require "rspec/matchers"
require "equivalent-xml"
require "simplecov"
require "vcr"

VCR.configure do |c|
  c.cassette_library_dir = "spec/vcr_cassetes"
  c.default_cassette_options = {
    clean_outdated_http_interactions: true,
    re_record_interval: 7 * 24 * 3600,
    record: :once,
    allow_playback_repeats: true,
  }
  c.hook_into :webmock
end

SimpleCov.start do
  add_filter "/spec/"
end

require "relaton"

RSpec.configure do |config|
  # Enable flags like --only-failures and --next-failure
  config.example_status_persistence_file_path = ".rspec_status"

  # Disable RSpec exposing methods globally on `Module` and `main`
  config.disable_monkey_patching!

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
relaton-1.12.2 spec/spec_helper.rb
relaton-1.12.1 spec/spec_helper.rb
relaton-1.12.0 spec/spec_helper.rb