spec/unit/provider/package/dpkg_spec.rb in puppet-3.0.1 vs spec/unit/provider/package/dpkg_spec.rb in puppet-3.0.2.rc1
- old
+ new
@@ -176,16 +176,16 @@
@provider.hold
end
it "should execute dpkg --set-selections when holding" do
@provider.stubs(:install)
- @provider.expects(:execute).with([:dpkg, '--set-selections'], {:stdinfile => @tempfile.path}).once
+ @provider.expects(:execute).with([:dpkg, '--set-selections'], {:failonfail => false, :combine => false, :stdinfile => @tempfile.path}).once
@provider.hold
end
it "should execute dpkg --set-selections when unholding" do
@provider.stubs(:install)
- @provider.expects(:execute).with([:dpkg, '--set-selections'], {:stdinfile => @tempfile.path}).once
+ @provider.expects(:execute).with([:dpkg, '--set-selections'], {:failonfail => false, :combine => false, :stdinfile => @tempfile.path}).once
@provider.hold
end
end
it "should use :install to update" do