From 0df0dc61b7735c9d5b6bc6e432b9421205b09013 Mon Sep 17 00:00:00 2001 From: John Keiser Date: Thu, 14 Apr 2016 16:21:33 -0700 Subject: [PATCH] Use server_api: 0 for cheffish spec requests (since the software does that too) --- lib/cheffish/rspec/chef_run_support.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cheffish/rspec/chef_run_support.rb b/lib/cheffish/rspec/chef_run_support.rb index 425f22d..0331270 100644 --- a/lib/cheffish/rspec/chef_run_support.rb +++ b/lib/cheffish/rspec/chef_run_support.rb @@ -33,7 +33,7 @@ def with_converge(&recipe) module ChefRunSupportInstanceMethods def rest - ::Chef::ServerAPI.new + ::Chef::ServerAPI.new(Chef::Config.chef_server_url, api_version: "0") end def get(path, *args)