Sha256: d0bcc19d0660f9137965ae205d15af7bfa2f9dd737997f3fce54fc138bae7bea
Contents?: true
Size: 537 Bytes
Versions: 10
Compression:
Stored size: 537 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_schema_registry! Avromatic.build_messaging! end end
Version data entries
10 entries across 10 versions & 1 rubygems