summaryrefslogtreecommitdiffstats
path: root/test/language/functions.rb
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2008-10-04 13:21:51 +1000
committerJames Turnbull <james@lovedthanlost.net>2008-10-04 13:21:51 +1000
commit782181e0da1bb6f5a091046ad68989300c508176 (patch)
treef1256af7e21420fc2bbfdd40c3e493d86b43c657 /test/language/functions.rb
parent614326afdbe542c9d4c480df43631c1f3cfc394a (diff)
downloadpuppet-782181e0da1bb6f5a091046ad68989300c508176.tar.gz
puppet-782181e0da1bb6f5a091046ad68989300c508176.tar.xz
puppet-782181e0da1bb6f5a091046ad68989300c508176.zip
Minor test fix for #1614
Diffstat (limited to 'test/language/functions.rb')
-rwxr-xr-xtest/language/functions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/language/functions.rb b/test/language/functions.rb
index 50a61a148..d9a1a561d 100755
--- a/test/language/functions.rb
+++ b/test/language/functions.rb
@@ -278,7 +278,7 @@ class TestLangFunctions < Test::Unit::TestCase
file = tempfile()
Puppet[:code] = %{file { "#{file}": content => template("#{template}") }}
- Puppet[:environments] = "yay"
+ Puppet[:environment] = "yay"
interp = Puppet::Parser::Interpreter.new
node = mknode
node.stubs(:environment).returns("yay")