summaryrefslogtreecommitdiff
path: root/spec/unit/provider/package/pacman_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/package/pacman_spec.rb')
-rw-r--r--spec/unit/provider/package/pacman_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/package/pacman_spec.rb b/spec/unit/provider/package/pacman_spec.rb
index 7dae87b799..83f376431e 100644
--- a/spec/unit/provider/package/pacman_spec.rb
+++ b/spec/unit/provider/package/pacman_spec.rb
@@ -26,7 +26,7 @@ describe Chef::Provider::Package::Pacman do
@new_resource = Chef::Resource::Package.new("nano")
@current_resource = Chef::Resource::Package.new("nano")
- @status = mock("Status", :exitstatus => 0)
+ @status = double("Status", :exitstatus => 0)
@provider = Chef::Provider::Package::Pacman.new(@new_resource, @run_context)
Chef::Resource::Package.stub(:new).and_return(@current_resource)
@provider.stub(:popen4).and_return(@status)