From a3b29d8a564485e2b321ac70969ac53a4340c918 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Fri, 8 Dec 2017 12:38:19 -0800 Subject: Update the start_time spec for the new message Signed-off-by: Tim Smith --- spec/unit/resource/windows_task_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/unit/resource/windows_task_spec.rb b/spec/unit/resource/windows_task_spec.rb index 5a132c9b90..131df524fc 100644 --- a/spec/unit/resource/windows_task_spec.rb +++ b/spec/unit/resource/windows_task_spec.rb @@ -157,7 +157,7 @@ describe Chef::Resource::WindowsTask do it "raises error if start_time is not HH:mm format" do resource.frequency :once - expect { resource.send(:validate_start_time, "2:30", :once) }.to raise_error(ArgumentError, "`start_time` property must be in the HH:mm format.") + expect { resource.send(:validate_start_time, "2:30", :once) }.to raise_error(ArgumentError, "`start_time` property must be in the HH:mm format (e.g. 6:20pm -> 18:20).") end it "does not raise error if start_time is in HH:mm format" do -- cgit v1.2.1