diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-11-09 21:06:47 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-11-09 21:06:47 +0000 |
commit | b14982a1354f477ee30ab44d340ea1e47e902257 (patch) | |
tree | d54c9433b581b20dc7c641f0140b622692ccd9e7 /test/language/functions.rb | |
parent | aa2da583d03b0f72ec27304c7de079767075f7e6 (diff) | |
download | puppet-b14982a1354f477ee30ab44d340ea1e47e902257.tar.gz puppet-b14982a1354f477ee30ab44d340ea1e47e902257.tar.xz puppet-b14982a1354f477ee30ab44d340ea1e47e902257.zip |
Small fixes here and there. The rails changes needs to be pushed through the collection code, so I am committing so Blake can take a look at that.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1844 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/language/functions.rb')
-rwxr-xr-x | test/language/functions.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/language/functions.rb b/test/language/functions.rb index bd7143db6..b69c2bfa2 100755 --- a/test/language/functions.rb +++ b/test/language/functions.rb @@ -23,7 +23,7 @@ class TestLangFunctions < Test::Unit::TestCase end assert_nothing_raised do - Puppet::Parser::Functions.newfunction(:fakefunction, :rvalue) do |input| + Puppet::Parser::Functions.newfunction(:fakefunction, :type => :rvalue) do |input| return "output %s" % input[0] end end @@ -289,7 +289,7 @@ class TestLangFunctions < Test::Unit::TestCase File.open(File.join(newpath, "autofunc.rb"), "w") { |f| f.puts %{ - Puppet::Parser::Functions.newfunction(:autofunc, :rvalue) do |vals| + Puppet::Parser::Functions.newfunction(:autofunc, :type => :rvalue) do |vals| Puppet.wanring vals.inspect end } |