summaryrefslogtreecommitdiff
path: root/spec/unit/api_client_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/api_client_spec.rb')
-rw-r--r--spec/unit/api_client_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/api_client_spec.rb b/spec/unit/api_client_spec.rb
index 945e5ed70f..4ccd64bafe 100644
--- a/spec/unit/api_client_spec.rb
+++ b/spec/unit/api_client_spec.rb
@@ -189,7 +189,7 @@ describe Chef::ApiClient do
describe "when requesting a new key" do
before do
- @http_client = mock("Chef::REST mock")
+ @http_client = double("Chef::REST mock")
Chef::REST.stub(:new).and_return(@http_client)
end