Sha256: 26515f922a511c4a340c06102e0e475e9f8dc82ae0d3919c8cb2b28c06e3d00c

Contents?: true

Size: 853 Bytes

Versions: 11

Compression:

Stored size: 853 Bytes

Contents

require 'webmock/rspec'
require 'avro_turf/confluent_schema_registry'
require 'avro_turf/test/fake_confluent_schema_registry_server'

describe AvroTurf::ConfluentSchemaRegistry do
  let(:user) { "abc" }
  let(:password) { "xxyyzz" }
  let(:client_cert) { "test client cert" }
  let(:client_key) { "test client key" }
  let(:client_key_pass) { "test client key password" }

  it_behaves_like "a confluent schema registry client" do
    let(:registry) {
      described_class.new(
        registry_url,
        logger: logger,
        client_cert: client_cert,
        client_key: client_key,
        client_key_pass: client_key_pass
      )
    }
  end

  it_behaves_like "a confluent schema registry client" do
    let(:registry) {
      described_class.new(
        registry_url,
        user: user,
        password: password,
      )
    }
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
avro_turf-1.11.0 spec/confluent_schema_registry_spec.rb
avro_turf-1.10.0 spec/confluent_schema_registry_spec.rb
avro_turf-1.9.0 spec/confluent_schema_registry_spec.rb
avro_turf-1.8.0 spec/confluent_schema_registry_spec.rb
avro_turf-1.7.0 spec/confluent_schema_registry_spec.rb
avro_turf-1.6.0 spec/confluent_schema_registry_spec.rb
avro_turf-1.5.0 spec/confluent_schema_registry_spec.rb
avro_turf-1.4.1 spec/confluent_schema_registry_spec.rb
avro_turf-1.4.0 spec/confluent_schema_registry_spec.rb
avro_turf-1.3.1 spec/confluent_schema_registry_spec.rb
avro_turf-1.3.0 spec/confluent_schema_registry_spec.rb