Sha256: a89a109aa9ce66674f183fa08bb91654c114f15c160ce2a35c590a3302cdd1e9
Contents?: true
Size: 547 Bytes
Versions: 9
Compression:
Stored size: 547 Bytes
Contents
# frozen_string_literal: true # rubocop:todo all require 'lite_spec_helper' 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
9 entries across 9 versions & 2 rubygems