summaryrefslogtreecommitdiff
path: root/spec/unit/system_spec.rb
diff options
context:
space:
mode:
authorClaire McQuin <claire@opscode.com>2013-09-03 21:12:51 -0700
committerClaire McQuin <claire@opscode.com>2013-09-06 09:46:28 -0700
commit2c6cd5508f5e1eddac20cae505d1947c575bb494 (patch)
treeaa2919e77cc6683b469ad7523da93d2bbe3df6a1 /spec/unit/system_spec.rb
parenta7401d3bd7c4e1032796ec37824318ffb1c4d894 (diff)
downloadohai-2c6cd5508f5e1eddac20cae505d1947c575bb494.tar.gz
store relative plugin paths in v6_dependency_solver
Diffstat (limited to 'spec/unit/system_spec.rb')
-rw-r--r--spec/unit/system_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/system_spec.rb b/spec/unit/system_spec.rb
index ef979dd0..e83e75e6 100644
--- a/spec/unit/system_spec.rb
+++ b/spec/unit/system_spec.rb
@@ -80,7 +80,7 @@ describe "Ohai::System" do
Dir.should_receive(:[]).with("/tmp/plugins/ubuntu/**/*").and_return([])
File.stub(:expand_path).with("/tmp/plugins").and_return("/tmp/plugins")
@ohai.load_plugins
- @ohai.v6_dependency_solver.should have_key("/tmp/plugins/empty.rb")
+ @ohai.v6_dependency_solver.should have_key("empty")
end
end