Sha256: a34409e64f57b466de7e3058c54c1c827de0a72b99a3adc3430d3e620c506830
Contents?: true
Size: 500 Bytes
Versions: 9
Compression:
Stored size: 500 Bytes
Contents
# frozen_string_literal: true require 'uri' require 'webmock/rspec' require 'avro_schema_registry/test/fake_server' RSpec.configure do |config| config.before(:each) do # Strip the username/password from the URL so WebMock can match the URL registry_uri = URI(Avromatic.registry_url) registry_uri.userinfo = '' WebMock.stub_request(:any, /^#{registry_uri}/).to_rack(AvroSchemaRegistry::FakeServer) AvroSchemaRegistry::FakeServer.clear Avromatic.build_messaging! end end
Version data entries
9 entries across 9 versions & 1 rubygems