spec/lib/pumper/pump_spec.rb in pumper-1.0.1 vs spec/lib/pumper/pump_spec.rb in pumper-1.2.0

- old
+ new

@@ -11,11 +11,11 @@ gem_file_name: 'simple_gem-1.0.gem' ) end before do allow_any_instance_of(Pumper::Pump).to receive(:specification).and_return(specification) - allow_any_instance_of(Pumper::UpdatingProject).to receive(:bump_version!) + allow_any_instance_of(Pumper::Project).to receive(:bump_version!) end describe '.perform' do subject do pumper.perform @@ -35,11 +35,11 @@ ) end end context 'when vendor options' do - let(:options) { { vendor: true } } + let(:options) { { is_vendor: true } } it 'should print vendor commands' do should eq( <<-OUTPUT.strip_heredoc.strip mv ./Gemfile.lock ./Gemfile.lock.stash @@ -91,6 +91,6 @@ ) end end end end -end \ No newline at end of file +end