summaryrefslogtreecommitdiffstats
path: root/lib/facter/macosx.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-02-17 16:15:10 -0600
committerLuke Kanies <luke@madstop.com>2008-02-17 16:15:10 -0600
commite11edfb869808a4de3130424ca160412e1e88b31 (patch)
treefb6836de3702c08ced6642eb59a20b17ff65ac25 /lib/facter/macosx.rb
parenta633aebab4dc4d07119a619c21cad6a719552083 (diff)
downloadfacter-e11edfb869808a4de3130424ca160412e1e88b31.tar.gz
facter-e11edfb869808a4de3130424ca160412e1e88b31.tar.xz
facter-e11edfb869808a4de3130424ca160412e1e88b31.zip
Switching from test/unit to rspec, and fixing a couple
of small test failures.
Diffstat (limited to 'lib/facter/macosx.rb')
-rw-r--r--lib/facter/macosx.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/facter/macosx.rb b/lib/facter/macosx.rb
index aec454a..60bd1ad 100644
--- a/lib/facter/macosx.rb
+++ b/lib/facter/macosx.rb
@@ -29,7 +29,7 @@ if Facter.value(:kernel) == "Darwin"
Facter.add("sp_#{fact}") do
confine :kernel => :darwin
setcode do
- value
+ value.to_s
end
end
end
@@ -38,7 +38,7 @@ if Facter.value(:kernel) == "Darwin"
Facter.add("sp_#{fact}") do
confine :kernel => :darwin
setcode do
- value
+ value.to_s
end
end
end