Sha256: a62259bd665a32e84eab00600d2104b44fa32383ea65c8a6829ac15d7461524c
Contents?: true
Size: 489 Bytes
Versions: 18
Compression:
Stored size: 489 Bytes
Contents
# frozen_string_literal: true # encoding: utf-8 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
18 entries across 18 versions & 1 rubygems