diff options
author | Tim Smith <tsmith@chef.io> | 2017-04-05 11:28:01 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-04-05 11:28:01 -0700 |
commit | 90337a44f30925ac8621f04216bd82098443e460 (patch) | |
tree | 399eb6e843a7ee78deb352b3a09b962455077fd2 /spec/unit/knife | |
parent | 2a1c78f10a5094d2222658b4cc402e14fa1e28de (diff) | |
download | chef-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.rb | 2 |
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 |