summaryrefslogtreecommitdiff
path: root/spec/unit/provider/windows_task_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove copyright dateslcg/remove-copyright-datesLamont Granquist2020-04-131-1/+1
| | | | | | | | Legally incredibly dubious, particularly since we don't follow it strictly as policy, and we have git history instead, which does it right. This is just a waste of time and a cargo cult. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Style/MethodCallWithoutArgsParenthesesLamont Granquist2019-07-021-1/+1
| | | | | | | | zero args methods don't get parens. this certainly reads better than the inverse. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Parse day param value into stringVivek Singh2019-07-021-1/+6
| | | | Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
* Add support for localized system account to windows_task resourceAnton Kvashenkin2018-10-161-0/+1
| | | | Signed-off-by: Anton Kvashenkin <anton.jugatsu@gmail.com>
* fix Style/TrailingCommaInHashLiteralLamont Granquist2018-07-021-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix Layout/LeadingCommentSpaceLamont Granquist2018-07-021-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix Style/HashSyntaxLamont Granquist2018-07-021-15/+15
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* [MSYS-809] Fix for command resource does not handle commands with argumentsvasu11052018-05-151-0/+9
| | | | Signed-off-by: vasu1105 <vasundhara.jagdale@msystechnologies.com>
* [MSYS-752] windows task rewrite using wind32-taskschedulerVasu11052018-04-241-579/+282
| | | | Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
* Fixed chefstyle issuesVasu11052018-01-051-17/+17
| | | | Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
* Added new specs and updated code to handle more scenariosVasu11052018-01-051-0/+94
| | | | Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
* Merge pull request #6654 from ↵Tim Smith2017-12-111-4/+11
|\ | | | | | | | | MsysTechnologiesllc/vasundhara/chef_windows_task_resource_not_idempotent_for_any_command windows_task: Fix resource isn't fully idempotent due to command property
| * [MSYS-731] Fix for [chef] windows_task resource isn't idempotent for any commandVasu11052017-12-111-4/+11
| | | | | | | | Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
* | invalid date error on windows_task with frequency :on_logonnimisha2017-12-081-0/+16
|/ | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* Unit tests for invalid date and starttime errornimisha2017-11-151-0/+27
| | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* Merge pull request #6394 from ↵Bryan McLellan2017-10-131-0/+28
|\ | | | | | | | | chef/ash/add_none_frequency_to_windows_task_resource Windows: Added :none frequency to windows_task resource
| * Fix spec and review commentsash/add_none_frequency_to_windows_task_resourceNAshwini2017-09-201-1/+1
| | | | | | | | Signed-off-by: NAshwini <ashwini.nehate@msystechnologies.com>
| * Fixed the failing specs.NAshwini2017-09-201-1/+1
| | | | | | | | Signed-off-by: NAshwini <ashwini.nehate@msystechnologies.com>
| * Added none frequency to windows task resourceNAshwini2017-09-201-0/+28
| | | | | | | | Signed-off-by: NAshwini <ashwini.nehate@msystechnologies.com>
* | Fix another testjdm/win-task-start-dayJay Mundrawala2017-09-251-3/+3
| | | | | | | | Signed-off-by: Jay Mundrawala <jmundrawala@chef.io>
* | Fix unit testsJay Mundrawala2017-09-251-2/+2
|/ | | | Signed-off-by: Jay Mundrawala <jmundrawala@chef.io>
* [MSYS-594] windows_task resource is not idempotent when specifying ↵Harikesh Kolekar2017-09-111-0/+113
| | | | | | | start_time and start_day (#6312) * windows_task resource is not idempotent when specifying start_time and start_day Signed-off-by: MSys <harikesh.kolekar@msystechnologies.com>
* [MSYS-586] Allow windows_task create action to update tasks. (#6193)Harikesh Kolekar2017-07-171-0/+40
| | | | | | The windows_task resource can now update tasks using the create action without passing the command property. Signed-off-by: Harikesh Kolekar <harikesh.kolekar@msystechnologies.com>
* Removed config file and chcp commandnimisha2017-04-051-2/+3
| | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* Added unit testcases for windows_task providernimisha2017-04-031-0/+391
Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>