Sha256: 21c8deff02126f8cc3e8e10c8e5649f40edf6ea04d64ea55994a6b5cac7af6e3
Contents?: true
Size: 539 Bytes
Versions: 10
Compression:
Stored size: 539 Bytes
Contents
require 'lite_spec_helper' require_relative '../app_metadata_shared' describe Mongo::Server::Monitor::AppMetadata do describe '#document' do let(:document) do app_metadata.send(:document) end context 'when user is given and auth_mech is not given' do let(:app_metadata) do described_class.new(user: 'foo') end it 'does not include saslSupportedMechs' do expect(document).not_to have_key(:saslSupportedMechs) end end it_behaves_like 'app metadata document' end end
Version data entries
10 entries across 10 versions & 1 rubygems