summaryrefslogtreecommitdiff
path: root/spec/unit/plugins/powershell_spec.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2019-08-16 13:15:22 -0700
committerTim Smith <tsmith84@gmail.com>2019-08-16 13:15:22 -0700
commit54b3cc831750805f19f838d60dea25e23dfa2e8c (patch)
tree81f539fca05ca2d0ed0761011913cd852b46d450 /spec/unit/plugins/powershell_spec.rb
parent038fd847c6d75dfaf6e60b67de185732aa245cc3 (diff)
downloadohai-rspec.tar.gz
rspec updates from rubocop-rspecrspec
Autocorrects for a few different things that rubocop-rspec identified. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/unit/plugins/powershell_spec.rb')
-rw-r--r--spec/unit/plugins/powershell_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/plugins/powershell_spec.rb b/spec/unit/plugins/powershell_spec.rb
index 754c2745..e391efba 100644
--- a/spec/unit/plugins/powershell_spec.rb
+++ b/spec/unit/plugins/powershell_spec.rb
@@ -24,7 +24,7 @@ describe Ohai::System, "plugin powershell" do
stub_const("::RbConfig::CONFIG", { "host_os" => "windows" })
end
- before(:each) do
+ before do
plugin[:languages] = Mash.new
end