diff options
author | Theodore Nordsieck <theo@opscode.com> | 2013-08-21 17:36:18 -0700 |
---|---|---|
committer | Theodore Nordsieck <theo@opscode.com> | 2013-08-22 11:06:29 -0700 |
commit | 2efb7fa4c70346a3a92b3d7a66884eb294fa2092 (patch) | |
tree | 91fc921c260b5de1196ca96e8c1ddfc61c5ab784 | |
parent | 8f074c3cd4098d3fd7e5c28d6a93ebb46f25c5dc (diff) | |
download | ohai-2efb7fa4c70346a3a92b3d7a66884eb294fa2092.tar.gz |
nuked comments, tweaked format
-rw-r--r-- | spec/unit/plugins/erlang_spec.rb | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/spec/unit/plugins/erlang_spec.rb b/spec/unit/plugins/erlang_spec.rb index 49447aca..f4488735 100644 --- a/spec/unit/plugins/erlang_spec.rb +++ b/spec/unit/plugins/erlang_spec.rb @@ -64,42 +64,7 @@ describe Ohai::System, "plugin erlang" do ########## - # expected = [{ - # :env => [[]], - # :platform => ["centos-5.9", "centos-6.4", "ubuntu-10.04", "ubuntu-12.04"], - # :arch => ["x86", "x64"], - # :ohai => { "languages" => { "erlang" => nil }}, - # },{ - # :env => [[]], - # :platform => ["ubuntu-13.04"], - # :arch => ["x64"], - # :ohai => { "languages" => { "erlang" => nil }}, - # },{ - # :env => [["erlang"]], - # :platform => ["centos-5.9", "centos-6.4"], - # :arch => ["x86", "x64"], - # :ohai => { "languages" => { "erlang" => { "version" => "5.8.5", "options" => ["ASYNC_THREADS"], "emulator" => "BEAM" }}}, - # },{ - # :env => [["erlang"]], - # :platform => ["ubuntu-10.04"], - # :arch => ["x86", "x64"], - # :ohai => { "languages" => { "erlang" => { "version" => "5.7.4", "options" => ["ASYNC_THREADS", "HIPE"], "emulator" => "BEAM" }}}, - # },{ - # :env => [["erlang"]], - # :platform => ["ubuntu-12.04"], - # :arch => ["x86", "x64"], - # :ohai => { "languages" => { "erlang" => { "version" => "5.8.5", "options" => ["ASYNC_THREADS"], "emulator" => "BEAM" }}}, - # },{ - # :env => [["erlang"]], - # :platform => ["ubuntu-13.04"], - # :arch => ["x64"], - # :ohai => { "languages" => { "erlang" => { "version" => "5.9.1", "options" => ["ASYNC_THREADS"], "emulator" => "BEAM" }}}, - # }] - - # include_context "cross platform data" - # it_behaves_like "a plugin", ["languages", "erlang"], expected, ["erl"] - - test_plugin(["languages", "erlang"], ["erl"]) do |p| + test_plugin(["languages", "erlang"], ["erl"]) do | p | p.test([ "centos-5.9", "centos-6.4", "ubuntu-10.04", "ubuntu-12.04" ], [ "x86", "x64" ], [[]], { "languages" => { "erlang" => nil }}) |