Sha256: 9ff87c76b4c308f1ead430b3f3b3ffc9738645c1b84098f50fbc42203197d075

Contents?: true

Size: 756 Bytes

Versions: 4

Compression:

Stored size: 756 Bytes

Contents

require 'rspec'
require 'rspec/fire'
require 'fakefs/spec_helpers'
require 'rspec'
require 'pact'
require 'webmock/rspec'
require_relative 'support/factories'
require_relative 'support/spec_support'

WebMock.disable_net_connect!(allow_localhost: true)

if ENV['LOAD_ACTIVE_SUPPORT']
   puts 'LOADING ACTIVE SUPPORT!!!! Hopefully it all still works'
   require 'active_support/all'
   require 'active_support'
   require 'active_support/json'
end

RSpec.configure do | config |
  config.include(FakeFS::SpecHelpers, :fakefs => true)
  config.include(RSpec::Fire)

  config.extend Pact::Provider::RSpec::ClassMethods
  config.include Pact::Provider::RSpec::InstanceMethods
  config.include Pact::Provider::TestMethods
  config.include Pact::SpecSupport
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pact-1.1.0 spec/spec_helper.rb
pact-1.1.0.rc5 spec/spec_helper.rb
pact-1.1.0.rc4 spec/spec_helper.rb
pact-1.1.0.rc3 spec/spec_helper.rb