Sha256: a74291df7d175b81279d76a8be183c5a9bde40bb4e08c9c5bd752506189dfe8c

Contents?: true

Size: 264 Bytes

Versions: 12

Compression:

Stored size: 264 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

12 entries across 12 versions & 1 rubygems

Version Path
parliament-utils-0.11.3 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.11.2 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.11.1 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.11.0 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.10.2 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.10.1 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.10.0 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.9.1 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.9.0 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.8.7 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.8.6 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.8.5 lib/parliament/utils/test_helpers/webmock_helper.rb