Sha256: 202d8de9f9600cb43fff80a5a06968466ed28c56e2e9da19bbf94c3702502181
Contents?: true
Size: 401 Bytes
Versions: 3
Compression:
Stored size: 401 Bytes
Contents
require 'lite_spec_helper' describe 'Mongo::Crypt::Binding' do require_libmongocrypt describe '#mongocrypt_version' do let(:version) { Mongo::Crypt::Binding.mongocrypt_version(nil) } it 'is a string' do expect(version).to be_a_kind_of(String) end it 'is in the x.y.z-tag format' do expect(version).to match(/\A(\d+.){2}(\d+)?(-[A-Za-z\+\d]+)?\z/) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mongo-2.14.1 | spec/mongo/crypt/binding/version_spec.rb |
mongo-2.15.0.alpha | spec/mongo/crypt/binding/version_spec.rb |
mongo-2.14.0 | spec/mongo/crypt/binding/version_spec.rb |