summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-01-07 19:24:10 -0600
committerLuke Kanies <luke@madstop.com>2008-01-07 19:24:10 -0600
commit40addcd1920b0fa2f558c415e65ea665bac812f9 (patch)
treed2792c1d8c84d2cfaed6b48a4642d3ef29ba79c9 /test
parent927dff41df8f1c236c54eaee9fa1db7a3efaf02a (diff)
downloadpuppet-40addcd1920b0fa2f558c415e65ea665bac812f9.tar.gz
puppet-40addcd1920b0fa2f558c415e65ea665bac812f9.tar.xz
puppet-40addcd1920b0fa2f558c415e65ea665bac812f9.zip
Fixing #982 -- I have completely removed the GRATR graph library
from the system, and implemented my own topsort method.
Diffstat (limited to 'test')
-rwxr-xr-xtest/ral/providers/package.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ral/providers/package.rb b/test/ral/providers/package.rb
index 90c862178..f2d28d0f0 100755
--- a/test/ral/providers/package.rb
+++ b/test/ral/providers/package.rb
@@ -46,7 +46,7 @@ class TestPackageProvider < Test::Unit::TestCase
end
facts = {}
Facter.to_hash.each do |fact, value|
- facts[fact.downcase.intern] = value.downcase.intern
+ facts[fact.to_s.downcase.intern] = value.to_s.downcase.intern
end
list.find_all { |hash| # First find the matching providers
hash.include?(:provider) and providers.include?(hash[:provider])