Sha256: c8290266c1a43e0c88408720fb86ad144915e491fbbfe070c3c2be62a2e7a56f
Contents?: true
Size: 490 Bytes
Versions: 9
Compression:
Stored size: 490 Bytes
Contents
# frozen_string_literal: true # rubocop:todo all require 'spec_helper' describe Mongo::WriteConcern::Unacknowledged do let(:concern) do described_class.new(:w => 0) end describe '#get_last_error' do it 'returns nil' do expect(concern.get_last_error).to be_nil end end describe '#acknowledged?' do let(:concern) do described_class.new(:w => 0) end it 'returns false' do expect(concern.acknowledged?).to be(false) end end end
Version data entries
9 entries across 9 versions & 2 rubygems