spec/messaging_spec.rb in avro_turf-0.10.0 vs spec/messaging_spec.rb in avro_turf-0.11.0
- old
+ new
@@ -2,16 +2,22 @@
require 'avro_turf/messaging'
require 'avro_turf/test/fake_confluent_schema_registry_server'
describe AvroTurf::Messaging do
let(:registry_url) { "http://registry.example.com" }
+ let(:client_cert) { "test client cert" }
+ let(:client_key) { "test client key" }
+ let(:client_key_pass) { "test client key password" }
let(:logger) { Logger.new(StringIO.new) }
let(:avro) {
AvroTurf::Messaging.new(
registry_url: registry_url,
schemas_path: "spec/schemas",
- logger: logger
+ logger: logger,
+ client_cert: client_cert,
+ client_key: client_key,
+ client_key_pass: client_key_pass
)
}
let(:message) { { "full_name" => "John Doe" } }
let(:schema_json) do