Sha256: b40efa66fa05461da69c75b33d8c73f17b55cddbfacaee9be31b892690974d3e
Contents?: true
Size: 760 Bytes
Versions: 4
Compression:
Stored size: 760 Bytes
Contents
require 'spec_helper' require 'libsql/sqlite3/libsql_version' describe "::Libsql::SQLite3::LibsqlVersion" do it "should have the libsql version" do expect(::Libsql::SQLite3::LIBSQL_VERSION).to match(/\d+\.\d+\.\d+/) expect(::Libsql::SQLite3::LibsqlVersion.to_s).to match(/\d+\.\d+\.\d+/) expect(::Libsql::SQLite3::LibsqlVersion.runtime_version).to match( /\d+\.\d+\.\d+/ ) expect(::Libsql::SQLite3::LibsqlVersion.compiled_version).to match( /\d+\.\d+\.\d+/ ) ::Libsql::SQLite3::LIBSQL_VERSION.should be == "0.2.1" ::Libsql::SQLite3::LibsqlVersion.compiled_version.should be == "0.2.1" ::Libsql::SQLite3::LibsqlVersion.runtime_version.should be == "0.2.1" ::Libsql::SQLite3::LibsqlVersion.to_s.should be == "0.2.1" end end
Version data entries
4 entries across 4 versions & 1 rubygems