Sha256: 9e77bcd6d654b1d8cc388cd832e5aaff0611a95e0e0c39698d5d16265c171e5f
Contents?: true
Size: 588 Bytes
Versions: 13
Compression:
Stored size: 588 Bytes
Contents
# frozen_string_literal: true # encoding: utf-8 require 'lite_spec_helper' describe 'Mongo::Crypt::Binding' do require_no_libmongocrypt context 'when load fails' do it 'retries loading at the next reference' do lambda do Mongo::Crypt::Binding end.should raise_error(LoadError, /no path to libmongocrypt specified/) # second load should also be attempted and should fail with the # LoadError exception lambda do Mongo::Crypt::Binding end.should raise_error(LoadError, /no path to libmongocrypt specified/) end end end
Version data entries
13 entries across 13 versions & 1 rubygems