summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaire McQuin <claire@opscode.com>2013-10-29 13:27:05 -0700
committerClaire McQuin <claire@opscode.com>2013-10-29 16:12:36 -0700
commit8238b9a84e1e5705ea18818e051364349493019a (patch)
tree51a3f01533619c740cc70fba807151b92a29cd45
parent4418bc0455fae1649037f4925acde1899743db77 (diff)
downloadohai-8238b9a84e1e5705ea18818e051364349493019a.tar.gz
check for detailed warning message
-rw-r--r--spec/unit/loader_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/loader_spec.rb b/spec/unit/loader_spec.rb
index 49b0678f..2a660222 100644
--- a/spec/unit/loader_spec.rb
+++ b/spec/unit/loader_spec.rb
@@ -78,7 +78,7 @@ Ohai.plugin(:#{@name}) do
end
EOF
IO.stub(:read).with(@path).and_return(contents)
- Ohai::Log.should_receive(:warn).with(/is not properly defined/)
+ Ohai::Log.should_receive(:warn).with(/collect_data already defined on platform/)
@loader.load_plugin(@path)
end