spec/integration/reconnect_spec.rb in mongo-2.12.4 vs spec/integration/reconnect_spec.rb in mongo-2.13.0.beta1

- old
+ new

@@ -63,12 +63,11 @@ logger.level = :debug end end let(:client) do - ClientRegistry.instance.register_local_client( - Mongo::Client.new(uri, SpecConfig.instance.ssl_options.merge( - server_selection_timeout: 3.86, logger: logger))) + new_local_client(uri, SpecConfig.instance.ssl_options.merge( + server_selection_timeout: 3.86, logger: logger)) end let(:wait_for_discovery) do client.cluster.next_primary end