summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-02-06 13:24:31 -0800
committerTim Smith <tsmith84@gmail.com>2020-02-06 13:24:31 -0800
commit06e2d1ce84de8a2eca3bbf1e433bd4ee4bd3ddab (patch)
treedf78756e2de4211d16e820f081f084195bee1225
parent3d5f7f9b161bcd1db60d8553b31d9020f8484d77 (diff)
downloadchef-06e2d1ce84de8a2eca3bbf1e433bd4ee4bd3ddab.tar.gz
Update the spec for the new format
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--spec/unit/knife/cookbook_upload_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/knife/cookbook_upload_spec.rb b/spec/unit/knife/cookbook_upload_spec.rb
index 6bbd6525da..ae8fbb4135 100644
--- a/spec/unit/knife/cookbook_upload_spec.rb
+++ b/spec/unit/knife/cookbook_upload_spec.rb
@@ -325,7 +325,7 @@ describe Chef::Knife::CookbookUpload do
it "should warn users that no cookbooks exist" do
knife.config[:cookbook_path] = ["/chef-repo/cookbooks", "/home/user/cookbooks"]
expect(knife.ui).to receive(:warn).with(
- /Could not find any cookbooks in your cookbook path: #{knife.config[:cookbook_path].join(', ')}\. Use --cookbook-path to specify the desired path\./
+ /Could not find any cookbooks in your cookbook path: '#{knife.config[:cookbook_path].join(', ')}'\. Use --cookbook-path to specify the desired path\./
)
knife.run
end
@@ -335,7 +335,7 @@ describe Chef::Knife::CookbookUpload do
it "should warn users that no cookbooks exist" do
knife.config[:cookbook_path] = "/chef-repo/cookbooks"
expect(knife.ui).to receive(:warn).with(
- /Could not find any cookbooks in your cookbook path: #{knife.config[:cookbook_path]}\. Use --cookbook-path to specify the desired path\./
+ /Could not find any cookbooks in your cookbook path: '#{knife.config[:cookbook_path]}'\. Use --cookbook-path to specify the desired path\./
)
knife.run
end