diff options
author | Chris Doherty <cdoherty@getchef.com> | 2014-09-12 14:02:44 -0700 |
---|---|---|
committer | Chris Doherty <cdoherty@getchef.com> | 2014-09-12 14:02:44 -0700 |
commit | b6cc74645ead494c35d1ea4ecac1ce039fcd02b4 (patch) | |
tree | f87a68dde2bd60cb4c9821f853b732f3afb63778 /spec/functional/resource/reboot_spec.rb | |
parent | b35e001755d9eaa78092f937dfa94002ef9ec349 (diff) | |
download | chef-b6cc74645ead494c35d1ea4ecac1ce039fcd02b4.tar.gz |
Improve the action and throw-label names.
Diffstat (limited to 'spec/functional/resource/reboot_spec.rb')
-rw-r--r-- | spec/functional/resource/reboot_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/functional/resource/reboot_spec.rb b/spec/functional/resource/reboot_spec.rb index 8e1ec80e8e..735ca994c8 100644 --- a/spec/functional/resource/reboot_spec.rb +++ b/spec/functional/resource/reboot_spec.rb @@ -59,7 +59,7 @@ describe Chef::Resource::Reboot do include_context 'testing run context modification' before do - resource.run_action(:request_reboot_on_successful_run) + resource.run_action(:request_reboot) end after do @@ -81,8 +81,8 @@ describe Chef::Resource::Reboot do it 'should have modified the run context correctly' do # this doesn't actually test the flow of Chef::Client#do_run, unfortunately. expect { - resource.run_action(:reboot_interrupt_run) - }.to throw_symbol(:interrupt_run_and_reboot) + resource.run_action(:reboot_now) + }.to throw_symbol(:end_client_run_early) test_reboot_action(resource) end |