summaryrefslogtreecommitdiff
path: root/spec/functional/dsl
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-07-03 12:26:05 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-07-05 12:40:44 -0700
commit4978a9a8a402477f3b35f43404701d6a5cf26fa1 (patch)
tree7f336c1fa29d7bdb50f8a6e0a2e5943fbb32ba51 /spec/functional/dsl
parent2833651dcf54db5ba8e92746b479ebafa897b275 (diff)
downloadchef-4978a9a8a402477f3b35f43404701d6a5cf26fa1.tar.gz
Style/EmptyLiteral
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/functional/dsl')
-rw-r--r--spec/functional/dsl/reboot_pending_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/dsl/reboot_pending_spec.rb b/spec/functional/dsl/reboot_pending_spec.rb
index 855a38b9cf..89701802b3 100644
--- a/spec/functional/dsl/reboot_pending_spec.rb
+++ b/spec/functional/dsl/reboot_pending_spec.rb
@@ -36,7 +36,7 @@ describe Chef::DSL::RebootPending, :windows_only do
let(:reg_key) { nil }
let(:original_set) { false }
- before(:all) { @any_flag = Hash.new }
+ before(:all) { @any_flag = {} }
after { @any_flag[reg_key] = original_set }