summaryrefslogtreecommitdiff
path: root/spec/functional/rebooter_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* fix Style/BlockDelimiters, Style/MultilineBlockLayout and 0.42.0 engine upgradeLamont Granquist2016-08-171-5/+5
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* Use double quotes by defaultThom May2016-01-141-8/+8
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* autocorrecting Style/TrailingCommalcg/trailing_commaLamont Granquist2016-01-131-2/+2
| | | | chefstyle -a fixed 1044 occurrances
* Correct Windows reboot command to delay in minutesJimmy McCrory2015-07-191-1/+1
| | | | | Correct the command used to reboot Windows machines so that it converts a given delay_mins option to the appropriate number of seconds.
* Stub `windows?` on ChefConfig so it applies to configdanielsdeleo2015-05-201-1/+1
|
* Update to RSpec 3.Claire McQuin2014-10-291-1/+1
|
* Add #reboot! to Rebooter for immediate rebooting; make Rebooter stateless;Chris Doherty2014-09-101-12/+37
| | | | add specs.
* Rename actions to :request_reboot_on_successful_run and :reboot_interrupt_run.Chris Doherty2014-09-101-0/+1
|
* Elaborate the specs a bit to make sure we're generating the correct reboot ↵Chris Doherty2014-09-101-12/+26
| | | | shell string.
* test against Windows string.Chris Doherty2014-09-101-1/+1
|
* Chef::Rebooter -> Chef::Platform::RebooterChris Doherty2014-09-101-4/+3
|
* Repair hacky use of rspec.Chris Doherty2014-09-101-3/+5
|
* Spec for the actual reboot code.Chris Doherty2014-09-101-0/+64