Sha256: 2eb2b10853ef2512f54258cc95b4f7dc73b9a5989966f4aff76f71288856a903

Contents?: true

Size: 529 Bytes

Versions: 2

Compression:

Stored size: 529 Bytes

Contents

# frozen_string_literal: true

require "bundler/setup"
require "blood_contracts/instrumentation"

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.around do |example|
    module Test; end
    example.run
    Object.send(:remove_const, :Test)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blood_contracts-instrumentation-0.1.1 spec/spec_helper.rb
blood_contracts-instrumentation-0.1.0 spec/spec_helper.rb