spec/messaging_spec.rb in avro_turf-1.12.0 vs spec/messaging_spec.rb in avro_turf-1.13.0
- old
+ new
@@ -442,10 +442,10 @@
it_behaves_like "encoding and decoding with the schema from schema store"
it_behaves_like 'encoding and decoding with the schema from registry'
it_behaves_like 'encoding and decoding with the schema_id from registry'
it 'passes the connect timeout setting to Excon' do
- expect(Excon).to receive(:new).with(anything, hash_including(connect_timeout: 10)).and_call_original
+ expect(Excon).to receive(:new).with(anything, hash_including(connect_timeout: 10, dns_timeouts: 10)).and_call_original
avro
end
end
end