summaryrefslogtreecommitdiffstats
path: root/test/language
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-11-23 16:45:28 -0600
committerLuke Kanies <luke@madstop.com>2007-11-23 16:45:28 -0600
commita525ab5f1d643dcd890a9f5fb34bbc5dab575393 (patch)
tree8db93d005fea7b7541ba4f2dd6a8724e6241c2d7 /test/language
parent6d74ddd40a33e54c8007e3a256270e76e56517a0 (diff)
Fixing a couple of tests that were failing because of the environment changes.
Diffstat (limited to 'test/language')
-rwxr-xr-xtest/language/functions.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/language/functions.rb b/test/language/functions.rb
index 2fc36f6cd..70dd6af7b 100755
--- a/test/language/functions.rb
+++ b/test/language/functions.rb
@@ -205,6 +205,7 @@ class TestLangFunctions < Test::Unit::TestCase
file = tempfile()
Puppet[:code] = %{file { "#{file}": content => template("#{template}") }}
+ Puppet[:environments] = "yay"
interp = Puppet::Parser::Interpreter.new
node = mknode
node.stubs(:environment).returns("yay")