Sha256: c20dd7065de72e0ad2c74d3166ac6710fbda18141470de46a46707b7ef3b727c
Contents?: true
Size: 420 Bytes
Versions: 2
Compression:
Stored size: 420 Bytes
Contents
require 'mongo' describe 'Clean exit' do before(:all) do unless %w(1 true yes).include?(ENV['SOLO']) skip 'Set SOLO=1 in environment to run solo tests' end end context 'with SRV URI' do let(:uri) do 'mongodb+srv://test1.test.build.10gen.cc/?tls=false' end it 'exits cleanly' do client = Mongo::Client.new(uri) client.database.collection_names.to_a end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mongo-2.14.1 | spec/solo/clean_exit_spec.rb |
mongo-2.15.0.alpha | spec/solo/clean_exit_spec.rb |