summaryrefslogtreecommitdiff
path: root/spec/functional/dsl/reboot_pending_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/functional/dsl/reboot_pending_spec.rb')
-rw-r--r--spec/functional/dsl/reboot_pending_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/dsl/reboot_pending_spec.rb b/spec/functional/dsl/reboot_pending_spec.rb
index 6f600ca325..c7a93c6822 100644
--- a/spec/functional/dsl/reboot_pending_spec.rb
+++ b/spec/functional/dsl/reboot_pending_spec.rb
@@ -22,7 +22,7 @@ require "spec_helper"
describe Chef::DSL::RebootPending, :windows_only do
def run_ohai
- node.consume_external_attrs(OHAI_SYSTEM.data,{})
+ node.consume_external_attrs(OHAI_SYSTEM.data, {})
end
let(:node) { Chef::Node.new }
@@ -98,7 +98,7 @@ describe Chef::DSL::RebootPending, :windows_only do
describe "when there is nothing to indicate a reboot is pending" do
it "should return false" do
- skip "reboot pending" if @any_flag.any? { |_,v| v == true }
+ skip "reboot pending" if @any_flag.any? { |_, v| v == true }
expect(recipe.reboot_pending?).to be_falsey
end
end