summaryrefslogtreecommitdiff
path: root/spec/functional/rebooter_spec.rb
diff options
context:
space:
mode:
authorChris Doherty <cdoherty@getchef.com>2014-09-05 15:58:31 -0700
committerChris Doherty <cdoherty@getchef.com>2014-09-10 16:34:28 -0700
commite1cb4798d79b857da01ae964abd95eae88fee476 (patch)
treebdcec42c166f10189ab92009c33ac28e9e8c739a /spec/functional/rebooter_spec.rb
parent5f0d5d63ec6a30ff90b10bf01782e698a34ffbfa (diff)
downloadchef-e1cb4798d79b857da01ae964abd95eae88fee476.tar.gz
Chef::Rebooter -> Chef::Platform::Rebooter
Diffstat (limited to 'spec/functional/rebooter_spec.rb')
-rw-r--r--spec/functional/rebooter_spec.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/spec/functional/rebooter_spec.rb b/spec/functional/rebooter_spec.rb
index 24356b90aa..c6140caeff 100644
--- a/spec/functional/rebooter_spec.rb
+++ b/spec/functional/rebooter_spec.rb
@@ -18,7 +18,7 @@
require 'spec_helper'
-describe Chef::Rebooter do
+describe Chef::Platform::Rebooter do
let(:reboot_info) do
{
@@ -41,12 +41,11 @@ describe Chef::Rebooter do
Chef::RunContext.new(node, {}, events)
end
- let(:rebooter) { Chef::Rebooter }
-
- let(:sheller) { Chef::Rebooter }
+ let(:rebooter) { Chef::Platform::Rebooter }
describe '#reboot_if_needed!' do
+ # test that it's producing the correct commands.
it 'should call #shell_out! when reboot has been requested' do
run_context.request_reboot(reboot_info)