From db9f8dce667916cd6575d2894c8ca25006138836 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Wed, 29 Jan 2014 14:18:28 -0800 Subject: s/mock\(/double(/g --- spec/unit/provider/ifconfig/debian_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/unit/provider/ifconfig/debian_spec.rb') diff --git a/spec/unit/provider/ifconfig/debian_spec.rb b/spec/unit/provider/ifconfig/debian_spec.rb index 93504b4096..3f46d9df23 100644 --- a/spec/unit/provider/ifconfig/debian_spec.rb +++ b/spec/unit/provider/ifconfig/debian_spec.rb @@ -34,7 +34,7 @@ describe Chef::Provider::Ifconfig::Debian do @provider = Chef::Provider::Ifconfig::Debian.new(@new_resource, @run_context) @current_resource = Chef::Resource::Ifconfig.new("10.0.0.1", @run_context) - status = mock("Status", :exitstatus => 0) + status = double("Status", :exitstatus => 0) @provider.instance_variable_set("@status", status) @provider.current_resource = @current_resource @provider.stub(:load_current_resource) -- cgit v1.2.1