Sha256: c367a1c318b168e67ffa59334faa9481ea40be632f50ccac8e79216e5782d4ba

Contents?: true

Size: 980 Bytes

Versions: 11

Compression:

Stored size: 980 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,
    preserve_exact_body_bytes: true,
  }
  c.hook_into :webmock
  c.configure_rspec_metadata!
end

SimpleCov.start do
  add_filter "/spec/"
end

require "relaton"

Relaton.configure do |config|
  config.use_api = false
end

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

  config.expose_dsl_globally = true
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
relaton-1.20.0 spec/spec_helper.rb
relaton-1.19.2 spec/spec_helper.rb
relaton-1.19.1 spec/spec_helper.rb
relaton-1.19.0 spec/spec_helper.rb
relaton-1.18.2 spec/spec_helper.rb
relaton-1.18.1 spec/spec_helper.rb
relaton-1.18.0 spec/spec_helper.rb
relaton-1.17.2 spec/spec_helper.rb
relaton-1.17.1 spec/spec_helper.rb
relaton-1.17.0 spec/spec_helper.rb
relaton-1.16.1 spec/spec_helper.rb