From 51180160fa9e9dce671d755abcbeb33c4c24879f Mon Sep 17 00:00:00 2001 From: snehaldwivedi Date: Fri, 5 Jun 2020 19:43:40 +0530 Subject: Updated exception message Signed-off-by: snehaldwivedi --- spec/unit/data_bag_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/unit') diff --git a/spec/unit/data_bag_spec.rb b/spec/unit/data_bag_spec.rb index 82cf8e6fb4..7e5ef46d58 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, "Please create databag folder at '/var/chef/data_bags'" + end.to raise_error Chef::Exceptions::InvalidDataBagPath, "Data bag path '/var/chef/data_bags' not found. Please create this directory." end end -- cgit v1.2.1