diff options
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 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)) |