summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
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])