summaryrefslogtreecommitdiff
path: root/spec/unit/knife
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-04-05 11:28:01 -0700
committerTim Smith <tsmith@chef.io>2017-04-05 11:28:01 -0700
commit90337a44f30925ac8621f04216bd82098443e460 (patch)
tree399eb6e843a7ee78deb352b3a09b962455077fd2 /spec/unit/knife
parent2a1c78f10a5094d2222658b4cc402e14fa1e28de (diff)
downloadchef-90337a44f30925ac8621f04216bd82098443e460.tar.gz
Improve the warning textcreate_in_dk
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/unit/knife')
-rw-r--r--spec/unit/knife/cookbook_create_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/knife/cookbook_create_spec.rb b/spec/unit/knife/cookbook_create_spec.rb
index 56ccdd9f76..ef86a0cd2b 100644
--- a/spec/unit/knife/cookbook_create_spec.rb
+++ b/spec/unit/knife/cookbook_create_spec.rb
@@ -34,7 +34,7 @@ describe Chef::Knife::CookbookCreate do
# Fixes CHEF-2579
it "should expand the path of the cookbook directory" do
- expect(Chef::Log).to receive(:fatal).with("knife cookbook create has been deprecated in favor of chef generate cookbook in Chef-DK!")
+ expect(Chef::Log).to receive(:fatal).with("knife cookbook create has been removed. Please use `chef generate cookbook` from the ChefDK")
@knife.run
end