From 3b65f582afe867180573313db3eb6450abf1da9b Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Fri, 18 Nov 2016 12:00:47 -0800 Subject: rspec-rubocop autofix the specs Signed-off-by: Tim Smith --- spec/unit/plugins/lua_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/unit/plugins/lua_spec.rb') 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)) -- cgit v1.2.1