From d99e306a41b1402209d320cb7119b12a3bbb962f Mon Sep 17 00:00:00 2001 From: Thom May Date: Wed, 2 Dec 2015 12:19:33 +0000 Subject: Convert all uses of Chef::REST to Chef::ServerAPI In the process, stop auto-expanding JSON in the HTTP client, and let individual classes control that themselves. Fixes #2737, Fixes #3518 --- spec/unit/cookbook/file_vendor_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/unit/cookbook/file_vendor_spec.rb') diff --git a/spec/unit/cookbook/file_vendor_spec.rb b/spec/unit/cookbook/file_vendor_spec.rb index 145541a63f..8bf2d3c2a3 100644 --- a/spec/unit/cookbook/file_vendor_spec.rb +++ b/spec/unit/cookbook/file_vendor_spec.rb @@ -23,7 +23,7 @@ describe Chef::Cookbook::FileVendor do context "when configured to fetch files over http" do - let(:http) { double("Chef::REST") } + let(:http) { double("Chef::ServerAPI") } before do file_vendor_class.fetch_from_remote(http) -- cgit v1.2.1