Sha256: 725c3db62d267ec95f494870aa6299857fcf1cd13d3ec3b1ea6be48a4cc68fcd
Contents?: true
Size: 361 Bytes
Versions: 1
Compression:
Stored size: 361 Bytes
Contents
require 'spec_helper' require 'tasks/gem/bump_task' describe Gem::BumpTask do describe '#task' do subject { Gem::BumpTask.new :major } before { subject.stub(:read_version).and_return('2.0.0') } it 'bumps the version and writes it' do expect(subject).to receive(:write_version) expect(subject.task).to eq('3.0.0') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
anvil-core-0.0.1.pre.alpha.2 | spec/lib/tasks/gem/bump_task_spec.rb |