Sha256: 0af80d1ef846ac53840bfd775d6a46623ee52160453308c2cfc79096ba74257a

Contents?: true

Size: 642 Bytes

Versions: 14

Compression:

Stored size: 642 Bytes

Contents

require_relative "../spec_helper"
require_relative "../../lib/corneal/version"

describe Corneal::VERSION do
  subject { Corneal::VERSION }

  let(:major)  { subject::MAJOR  }
  let(:minor)  { subject::MINOR  }
  let(:tiny)   { subject::TINY   }
  let(:string) { subject::STRING }

  it "should have a major version" do
    major.must_be_kind_of Fixnum
  end

  it "should have a minor version" do
    minor.must_be_kind_of Fixnum
  end

  it "should have a tiny version" do
    tiny.must_be_kind_of Fixnum
  end

  it "should have a string representation of the version number" do
    string.must_equal "#{major}.#{minor}.#{tiny}"
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
corneal-new-1.3.1 spec/corneal/version_spec.rb
corneal-new-1.3.0 spec/corneal/version_spec.rb
corneal-1.2.3 spec/corneal/version_spec.rb
corneal-1.2.2 spec/corneal/version_spec.rb
corneal-1.2.1 spec/corneal/version_spec.rb
corneal-1.2.0 spec/corneal/version_spec.rb
corneal-1.1.0 spec/corneal/version_spec.rb
corneal-1.0.0 spec/corneal/version_spec.rb
corneal-0.1.5 spec/corneal/version_spec.rb
corneal-0.1.4 spec/corneal/version_spec.rb
corneal-0.1.3 spec/corneal/version_spec.rb
corneal-0.1.2 spec/corneal/version_spec.rb
corneal-0.1.1 spec/corneal/version_spec.rb
corneal-0.1.0 spec/corneal/version_spec.rb