diff options
author | Tim Smith <tsmith@chef.io> | 2018-02-27 11:58:53 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-02-27 11:58:53 -0800 |
commit | de513bee919fed27a46723dcfacd61faaa0070de (patch) | |
tree | 59c9d7ddf16b2d7584163357156e34096e422561 | |
parent | fbb8c5b78b55fe1cdce4028c5e9cb2a00b9d6912 (diff) | |
download | ohai-cleanup_specs.tar.gz |
Remove unused helpercleanup_specs
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | spec/spec_helper.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index caa070ef..9219b14e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -35,13 +35,6 @@ def convert_windows_output(stdout) stdout.gsub("\n", "\r\n") end -def it_expects_from(plugin, attribute, from, value) - it "sets the #{attribute} to the value from '#{from}'" do - plugin.run - expect(plugin[attribute]).to eq(value) - end -end - def it_expects_from_mash(plugin, attribute, from, value) it "gets the #{plugin}[:#{attribute}] value from '#{from}'" do expect(plugin).to receive(:shell_out).with(from).and_return(mock_shell_out(value[0], value[1], value[2])) |