Sha256: 2423d82ac8181b53bec9bc3e2d0fa8d992f74e7bca168829e62fce75318a504c
Contents?: true
Size: 714 Bytes
Versions: 6
Compression:
Stored size: 714 Bytes
Contents
describe Semvergen::Bump do let(:semvergen) { Semvergen::Bump.new nil, nil, nil, nil } describe :next_version do let(:next_version) { semvergen.next_version current_version, release_type } let(:current_version) { "3.2.19" } context "when bumping a major version" do let(:release_type) { Semvergen::Bump::MAJOR } it { expect(next_version).to eq "4.0.0" } end context "when bumping a minor version" do let(:release_type) { Semvergen::Bump::MINOR } it { expect(next_version).to eq "3.3.0" } end context "when bumping a patch version" do let(:release_type) { Semvergen::Bump::PATCH } it { expect(next_version).to eq "3.2.20" } end end end
Version data entries
6 entries across 6 versions & 1 rubygems