summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-12-08 12:38:19 -0800
committerTim Smith <tsmith@chef.io>2017-12-08 12:38:19 -0800
commita3b29d8a564485e2b321ac70969ac53a4340c918 (patch)
tree9ea262f13aa72d087a3e22ef845073f10e009be1
parent87a7f7d58b183d4af511c3ef496c8559fc808625 (diff)
downloadchef-a3b29d8a564485e2b321ac70969ac53a4340c918.tar.gz
Update the start_time spec for the new message
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--spec/unit/resource/windows_task_spec.rb2
1 files changed, 1 insertions, 1 deletions
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