diff options
author | Chris Doherty <cdoherty@getchef.com> | 2014-09-08 15:49:04 -0700 |
---|---|---|
committer | Chris Doherty <cdoherty@getchef.com> | 2014-09-10 16:34:30 -0700 |
commit | 2456f0c47df72268e1c73c9c5109771a59f10938 (patch) | |
tree | 198ae2e1136693d9dc28bab44ab272527195ec00 /spec/functional/rebooter_spec.rb | |
parent | bfa023f1ba3e962a1d2c0179b4209ce44c734506 (diff) | |
download | chef-2456f0c47df72268e1c73c9c5109771a59f10938.tar.gz |
Rename actions to :request_reboot_on_successful_run and :reboot_interrupt_run.
Diffstat (limited to 'spec/functional/rebooter_spec.rb')
-rw-r--r-- | spec/functional/rebooter_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/functional/rebooter_spec.rb b/spec/functional/rebooter_spec.rb index 4ead20bb0b..218b47b74e 100644 --- a/spec/functional/rebooter_spec.rb +++ b/spec/functional/rebooter_spec.rb @@ -54,6 +54,7 @@ describe Chef::Platform::Rebooter do describe 'calling #shell_out! when reboot has been requested' do before(:each) do + Chef::Platform.stub(:node).and_return(run_context.node) run_context.request_reboot(reboot_info) end |