Sha256: cc923dd0cfb435254e438a307d48768ddf71e54bb54971c14f4c943bee094c14
Contents?: true
Size: 447 Bytes
Versions: 1
Compression:
Stored size: 447 Bytes
Contents
#!/usr/bin/env rspec -cfd -b require_relative '../helpers' require 'strelka/cms' describe Strelka::CMS do describe "version methods" do it "returns a version string if asked" do expect( described_class.version_string ).to match( /\w+ [\d.]+/ ) end it "returns a version string with a build number if asked" do expect( described_class.version_string(true) ). to match( /\w+ [\d.]+ \(build [[:xdigit:]]+\)/ ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
strelka-cms-0.3.0 | spec/strelka/cms_spec.rb |