summaryrefslogtreecommitdiff
path: root/spec/unit/knife/client_create_spec.rb
diff options
context:
space:
mode:
authortylercloke <tylercloke@gmail.com>2015-07-02 11:24:24 -0700
committertylercloke <tylercloke@gmail.com>2015-07-06 14:36:03 -0700
commitbd9febad0be3c396e5373158615d93ef1e2033a1 (patch)
tree4d5704f3c11e8f0a74c0c29d57d5969fca1a7cdc /spec/unit/knife/client_create_spec.rb
parentdb6ee7b3fedb5763e9108a0254c4201b84e84fef (diff)
downloadchef-bd9febad0be3c396e5373158615d93ef1e2033a1.tar.gz
Move ApiClient V1 supported code to Chef::ApiClientV1 and restore Chef::ApiClient.
For backwards compatibility. ApiClientV1 will replace ApiClient when Chef 13 is released. Updated client_*.rb knife commands to use ApiClientV1.
Diffstat (limited to 'spec/unit/knife/client_create_spec.rb')
-rw-r--r--spec/unit/knife/client_create_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/knife/client_create_spec.rb b/spec/unit/knife/client_create_spec.rb
index 8fecfc885f..a1dcc564e2 100644
--- a/spec/unit/knife/client_create_spec.rb
+++ b/spec/unit/knife/client_create_spec.rb
@@ -34,7 +34,7 @@ describe Chef::Knife::ClientCreate do
end
let(:client) do
- Chef::ApiClient.new
+ Chef::ApiClientV1.new
end
let(:knife) do