summaryrefslogtreecommitdiff
path: root/spec/unit/provider/package/zypper_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/package/zypper_spec.rb')
-rw-r--r--spec/unit/provider/package/zypper_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/package/zypper_spec.rb b/spec/unit/provider/package/zypper_spec.rb
index 63f235a05c..e63ac5160e 100644
--- a/spec/unit/provider/package/zypper_spec.rb
+++ b/spec/unit/provider/package/zypper_spec.rb
@@ -27,14 +27,14 @@ describe Chef::Provider::Package::Zypper do
@current_resource = Chef::Resource::Package.new("cups")
- @status = mock("Status", :exitstatus => 0)
+ @status = double("Status", :exitstatus => 0)
@provider = Chef::Provider::Package::Zypper.new(@new_resource, @run_context)
Chef::Resource::Package.stub(:new).and_return(@current_resource)
@provider.stub(:popen4).and_return(@status)
@stderr = StringIO.new
@stdout = StringIO.new
- @pid = mock("PID")
+ @pid = double("PID")
@provider.stub(:`).and_return("2.0")
end