Sha256: 89be5947d1d257a0819c18cd864488186df2a75c11a7275c0191e14302d4603b
Contents?: true
Size: 480 Bytes
Versions: 36
Compression:
Stored size: 480 Bytes
Contents
require 'lite_spec_helper' describe Mongo::Monitoring::Event::Cmap::ConnectionCheckOutFailed do describe '#summary' do let(:address) do Mongo::Address.new('127.0.0.1:27017') end let(:reason) do described_class::TIMEOUT end let(:event) do described_class.new(address, reason) end it 'renders correctly' do expect(event.summary).to eq('#<ConnectionCheckOutFailed address=127.0.0.1:27017 reason=timeout>') end end end
Version data entries
36 entries across 36 versions & 1 rubygems