summaryrefslogtreecommitdiff
path: root/spec/unit/plugins/lua_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/lua_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/lua_spec.rb')
-rw-r--r--spec/unit/plugins/lua_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/plugins/lua_spec.rb b/spec/unit/plugins/lua_spec.rb
index e2726e9c..9d98109b 100644
--- a/spec/unit/plugins/lua_spec.rb
+++ b/spec/unit/plugins/lua_spec.rb
@@ -24,7 +24,7 @@ describe Ohai::System, "plugin lua" do
let(:plugin) { get_plugin("lua") }
- before(:each) do
+ before do
plugin[:languages] = Mash.new
@message = "Lua 5.1.2 Copyright (C) 1994-2008 Lua.org, PUC-Rio\n"
allow(plugin).to receive(:shell_out).with("lua -v").and_return(mock_shell_out(0, "", @message))