Sha256: b27e66a3ba433a400bda2621fef4e8bcf0b0e7128347f38e4e720490ff8a68c5

Contents?: true

Size: 263 Bytes

Versions: 25

Compression:

Stored size: 263 Bytes

Contents

module Parliament
  module Utils
    module TestHelpers
      module WebmockHelper
        def self.load_rspec_config(config)
          require 'webmock/rspec'

          WebMock.disable_net_connect!(allow_localhost: true)
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
parliament-utils-0.2.3 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.2.2 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.2.1 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.2.0 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.1.0 lib/parliament/utils/test_helpers/webmock_helper.rb