summaryrefslogtreecommitdiff
path: root/spec/unit/plugins/lua_spec.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2016-11-18 12:00:47 -0800
committerTim Smith <tsmith@chef.io>2016-12-01 10:58:06 -0800
commit3b65f582afe867180573313db3eb6450abf1da9b (patch)
tree4eadf04c5959ad39cb56e150f7fa510925b32168 /spec/unit/plugins/lua_spec.rb
parent5f43d30a38cee0a87c479988283a6bd934c07d01 (diff)
downloadohai-rubocop_rspec.tar.gz
rspec-rubocop autofix the specsrubocop_rspec
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 c994ef17..c7d278c5 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
@stderr = "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, "", @stderr))