Sha256: d992f93ae28fec65ec46b85a63491ae691623b283d088203735ce5cb1ef9b2cd
Contents?: true
Size: 488 Bytes
Versions: 9
Compression:
Stored size: 488 Bytes
Contents
# frozen_string_literal: true # rubocop:todo all require 'lite_spec_helper' describe Mongo::Monitoring::Event::Cmap::ConnectionCreated do describe '#summary' do let(:address) do Mongo::Address.new('127.0.0.1:27017') end let(:id) do 1 end let(:event) do described_class.new(address, id) end it 'renders correctly' do expect(event.summary).to eq('#<ConnectionCreated address=127.0.0.1:27017 connection_id=1>') end end end
Version data entries
9 entries across 9 versions & 2 rubygems