diff options
author | Ryota Arai <ryota.arai@gmail.com> | 2013-11-21 10:37:06 +0900 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2013-11-26 07:31:26 -0800 |
commit | 7543633aad455c7d9c409ecc93b46357fc1a87bb (patch) | |
tree | b0808a3e961a27873f16a50b4886da5b3c2bb852 /spec | |
parent | 0ead522ef5a257327c230b6bd3036523a80de70e (diff) | |
download | chef-7543633aad455c7d9c409ecc93b46357fc1a87bb.tar.gz |
Modify a message when any cookbook is not found.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/client_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/client_spec.rb b/spec/unit/client_spec.rb index 6a87e217e5..eb705e0386 100644 --- a/spec/unit/client_spec.rb +++ b/spec/unit/client_spec.rb @@ -456,7 +456,7 @@ shared_examples_for Chef::Client do it "raises CookbookNotFound error" do expect do @client.send(:assert_cookbook_path_not_empty, nil) - end.to raise_error(Chef::Exceptions::CookbookNotFound, 'None of the cookbook paths, ["/path/to/invalid/cookbook_path"], contain any cookbooks') + end.to raise_error(Chef::Exceptions::CookbookNotFound, 'None of the cookbook paths set in Chef::Config[:cookbook_path], ["/path/to/invalid/cookbook_path"], contain any cookbooks') end end end |