Sha256: 57e97fbb5b8b4213e1e0d0248c32943f12e849b5c76c2d753098ca06cc1646cc

Contents?: true

Size: 238 Bytes

Versions: 28

Compression:

Stored size: 238 Bytes

Contents

require 'webmock/rspec'

WebMock.disable_net_connect!(allow_localhost: true, allow: [/codeclimate/])

RSpec.configure do |config|
  config.after(:each) do
    WebMock.reset!
  end

  config.after(:suite) do
    WebMock.disable!
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
macmillan-utils-1.0.44 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.43 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.42 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.41 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.40 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.39 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.38 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.37 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.36 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.35 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.34 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.33 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.32 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.31 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.30 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.29 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.27 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.23 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.22 lib/macmillan/utils/rspec/webmock_helper.rb
macmillan-utils-1.0.21 lib/macmillan/utils/rspec/webmock_helper.rb