summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorDan DeLeo <danielsdeleo@mac.com>2009-12-26 18:13:10 -0700
committerDaniel DeLeo <dan@opscode.com>2010-04-24 19:50:20 -0700
commite2c243f0f5b2384901afe8368497159ca87a67aa (patch)
tree030bb2a5b78dfd2410d4222568dc4b42be162fed /spec/spec_helper.rb
parentbf4c2af19c254b0cd2096ed5a556f12ae46e07e5 (diff)
downloadohai-e2c243f0f5b2384901afe8368497159ca87a67aa.tar.gz
(!) ruby 1.9 compatible
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 8faee77f..477ffefd 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -13,11 +13,6 @@ require 'ohai'
Ohai::Config[:log_level] = :error
def it_should_check_from(plugin, attribute, from, value)
- it "should get the #{attribute} value from '#{from}'" do
- @ohai.should_receive(:from).with(from).and_return(value)
- @ohai._require_plugin(plugin)
- end
-
it "should set the #{attribute} to the value from '#{from}'" do
@ohai._require_plugin(plugin)
@ohai[attribute].should == value