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.8.4 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.8.3 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.8.2 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.8.1 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.8.0 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.7.3 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.7.2 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.7.1 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.7.0 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.6.1 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.6.0 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.5.0 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.4.2 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.4.1 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.4.0 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.3.2 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.3.1 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.3.0 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.2.5 lib/parliament/utils/test_helpers/webmock_helper.rb
parliament-utils-0.2.4 lib/parliament/utils/test_helpers/webmock_helper.rb