Sha256: bea9d560d2735ce7d495c3181031932b62b5544010b5516ac165a32583632885
Contents?: true
Size: 467 Bytes
Versions: 9
Compression:
Stored size: 467 Bytes
Contents
# frozen_string_literal: true # rubocop:todo all module AddsDiagnostics shared_examples 'it adds diagnostics' do it 'indicates the server used for the operation' do expect do perform_operation end.to raise_error(Mongo::Error, /on #{ClusterConfig.instance.primary_address_str}/) end it 'indicates the second attempt' do expect do perform_operation end.to raise_error(Mongo::Error, /attempt 2/) end end end
Version data entries
9 entries across 9 versions & 2 rubygems