Sha256: c0baa2204c621103d72eaa78f1ffe6a4fbfa793431b52d4a89850ed534e0f11e
Contents?: true
Size: 638 Bytes
Versions: 10
Compression:
Stored size: 638 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Mongo::Crypt do describe '.validate_ffi!' do context 'when ffi is available' do context 'when ffi is loaded' do it 'does not raise' do expect do described_class.validate_ffi! end.not_to raise_error end end end # There is no reasonably simple way to test the path where ffi is not # available. The ffi gem is a part of our standard test dependencies, so # it's always available. So, we would need a dedicated configuration # just to test this feature; it seems to be an overhead. end end
Version data entries
10 entries across 10 versions & 2 rubygems