summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorsnehaldwivedi <sdwivedi@msystechnologies.com>2020-06-04 16:16:26 +0530
committerTim Smith <tsmith84@gmail.com>2020-06-23 10:25:38 -0700
commit617c8464c9aa61ac928cc9f5530a11068ea23dad (patch)
tree6f276654ca7a018be0bc82d318315d627dbf22ad /spec
parentfb303196b178fcbf7f769246eb3fbb6dd4987cea (diff)
downloadchef-617c8464c9aa61ac928cc9f5530a11068ea23dad.tar.gz
Updated exception message Chef::Exceptions::InvalidDataBagPath
Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/data_bag_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/data_bag_spec.rb b/spec/unit/data_bag_spec.rb
index 6089b4b85d..82cf8e6fb4 100644
--- a/spec/unit/data_bag_spec.rb
+++ b/spec/unit/data_bag_spec.rb
@@ -243,7 +243,7 @@ describe Chef::DataBag do
expect do
Chef::DataBag.load("foo")
- end.to raise_error Chef::Exceptions::InvalidDataBagPath, "Data bag path '/var/chef/data_bags' is invalid"
+ end.to raise_error Chef::Exceptions::InvalidDataBagPath, "Please create databag folder at '/var/chef/data_bags'"
end
end