Sha256: 17b0a7d51592fccbf07bc5d3b51bc3dfb5e61f6ec7c9a23b429b47ec7fdeb476
Contents?: true
Size: 539 Bytes
Versions: 15
Compression:
Stored size: 539 Bytes
Contents
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
15 entries across 15 versions & 1 rubygems