Sha256: 77b95ba383bfb9c06eb4f204e3238bc0f061daaa021f69d79f8d9c559838485d
Contents?: true
Size: 450 Bytes
Versions: 13
Compression:
Stored size: 450 Bytes
Contents
# frozen_string_literal: true # encoding: utf-8 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
13 entries across 13 versions & 1 rubygems