diff options
Diffstat (limited to 'spec/unit/api_client_spec.rb')
-rw-r--r-- | spec/unit/api_client_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/api_client_spec.rb b/spec/unit/api_client_spec.rb index 0df863cb78..945e5ed70f 100644 --- a/spec/unit/api_client_spec.rb +++ b/spec/unit/api_client_spec.rb @@ -190,7 +190,7 @@ describe Chef::ApiClient do describe "when requesting a new key" do before do @http_client = mock("Chef::REST mock") - Chef::REST.stub!(:new).and_return(@http_client) + Chef::REST.stub(:new).and_return(@http_client) end context "and the client does not exist on the server" do |