summaryrefslogtreecommitdiffstats
path: root/test/language/functions.rb
diff options
context:
space:
mode:
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")