spec/unit/policyfile/uploader_spec.rb in chef-dk-2.0.26 vs spec/unit/policyfile/uploader_spec.rb in chef-dk-2.0.28

- old
+ new

@@ -18,11 +18,11 @@ require "spec_helper" require "chef-dk/policyfile/uploader" # We load this here to ensure we get the "verifying doubles" behavior from # RSpec. It's not used by Policyfile::Uploader, but it's a collaborator. -require "chef-dk/authenticated_http" +require "chef/server_api" describe ChefDK::Policyfile::Uploader do let(:policyfile_lock_data) do { @@ -48,10 +48,10 @@ let(:policyfile_lock) { instance_double("ChefDK::PolicyfileLock", name: "example", to_lock: policyfile_lock_data) } let(:policy_group) { "unit-test" } - let(:http_client) { instance_double("ChefDK::AuthenticatedHTTP") } + let(:http_client) { instance_double("Chef::ServerAPI") } let(:policy_document_native_api) { false } let(:uploader) do described_class.new(policyfile_lock,