diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-02-06 13:24:31 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-02-06 13:24:31 -0800 |
commit | 06e2d1ce84de8a2eca3bbf1e433bd4ee4bd3ddab (patch) | |
tree | df78756e2de4211d16e820f081f084195bee1225 | |
parent | 3d5f7f9b161bcd1db60d8553b31d9020f8484d77 (diff) | |
download | chef-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.rb | 4 |
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 |