Sha256: df4a1024baeef58ac6e22c43f9bbe25854db54467b35c0a42e01b58131592711

Contents?: true

Size: 426 Bytes

Versions: 2

Compression:

Stored size: 426 Bytes

Contents

require "spec_helper"

module PaperTrail
  ::RSpec.describe VERSION do
    describe "STRING" do
      it "joins the numbers into a period separated string" do
        expect(described_class::STRING).to eq(
          [
            described_class::MAJOR,
            described_class::MINOR,
            described_class::TINY,
            described_class::PRE
          ].compact.join(".")
        )
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
paper_trail-7.1.0 spec/modules/version_number_spec.rb
paper_trail-7.0.3 spec/modules/version_number_spec.rb