spec/rake/funnel/tasks/paket_spec.rb in rake-funnel-0.11.0.pre vs spec/rake/funnel/tasks/paket_spec.rb in rake-funnel-0.12.0.pre

- old
+ new

@@ -108,11 +108,11 @@ before { allow(subject).to receive(:sh).with(subject.paket, anything).and_raise } it 'should fail' do - expect { Task[subject.name].invoke }.to raise_error + expect { Task[subject.name].invoke }.to raise_error(RuntimeError) end end end context 'paket.exe does not exist' do @@ -128,10 +128,10 @@ expect(subject).not_to have_received(:sh).with(subject.paket, subject.paket_args) end it 'should fail' do - expect { Task[subject.name].invoke }.to raise_error + expect { Task[subject.name].invoke }.to raise_error(RuntimeError) end end end end end