Sha256: 2df286fc7fbbb08c386a7b2532c24123ac0283e6d3d41e619b65e512ed3c7ca3
Contents?: true
Size: 428 Bytes
Versions: 18
Compression:
Stored size: 428 Bytes
Contents
# frozen_string_literal: true # encoding: utf-8 require 'lite_spec_helper' describe Mongo::Auth::InvalidMechanism do describe 'message' do let(:exception) { described_class.new(:foo) } it 'includes all built in mechanisms' do expect(exception.message).to eq(':foo is invalid, please use one of the following mechanisms: :aws, :gssapi, :mongodb_cr, :mongodb_x509, :plain, :scram, :scram256') end end end
Version data entries
18 entries across 18 versions & 1 rubygems