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 17:16:04 -0800
commita5d03b06509818a02dccd80f19808cc6a25d1ae9 (patch)
treea989d0d8beafb7fb632f6750ff2dfee211b1ee62
parent7e71f51917d1701e755a6a701ba6942de5276113 (diff)
downloadchef-a5d03b06509818a02dccd80f19808cc6a25d1ae9.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