Sha256: ca67342c9afb63304c3f1680243c62139ac4399680149f4b54b8b68ee965f571

Contents?: true

Size: 537 Bytes

Versions: 5

Compression:

Stored size: 537 Bytes

Contents

begin
  require "pry"
rescue LoadError
  nil
end

require "bundler/setup"
require "blood_contracts/core"

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

5 entries across 5 versions & 1 rubygems

Version Path
blood_contracts-core-0.4.4 spec/spec_helper.rb
blood_contracts-core-0.4.3 spec/spec_helper.rb
blood_contracts-core-0.4.2 spec/spec_helper.rb
blood_contracts-core-0.4.1 spec/spec_helper.rb
blood_contracts-core-0.4.0 spec/spec_helper.rb