diff options
author | Tim Smith <tsmith84@gmail.com> | 2019-08-16 13:15:22 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2019-08-16 13:15:22 -0700 |
commit | 54b3cc831750805f19f838d60dea25e23dfa2e8c (patch) | |
tree | 81f539fca05ca2d0ed0761011913cd852b46d450 /spec/unit/plugins/lua_spec.rb | |
parent | 038fd847c6d75dfaf6e60b67de185732aa245cc3 (diff) | |
download | ohai-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.rb | 2 |
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)) |