19 lines
424 B
Ruby
19 lines
424 B
Ruby
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
|