summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-04-21 01:00:52 -0500
committerJames Turnbull <james@lovedthanlost.net>2009-04-22 14:39:40 +1000
commitb694b3c0696cc9bd0f109bf0a7c790f592bc6180 (patch)
tree80b72ad457ae49cfe62bbd494d29f8dc1b06e324 /test
parent93246c0c70796a606fc8c05b51e1feb09c94e377 (diff)
downloadpuppet-b694b3c0696cc9bd0f109bf0a7c790f592bc6180.tar.gz
puppet-b694b3c0696cc9bd0f109bf0a7c790f592bc6180.tar.xz
puppet-b694b3c0696cc9bd0f109bf0a7c790f592bc6180.zip
Fixing tests that apparently only worked sometimes
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/language/scope.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/language/scope.rb b/test/language/scope.rb
index 0fa211fc3..eeaf179ba 100755
--- a/test/language/scope.rb
+++ b/test/language/scope.rb
@@ -288,6 +288,7 @@ class TestScope < Test::Unit::TestCase
end
def test_tagfunction
+ Puppet::Parser::Functions.function(:tag)
scope = mkscope
resource = mock 'resource'
scope.resource = resource
@@ -324,6 +325,7 @@ class TestScope < Test::Unit::TestCase
end
def test_definedfunction
+ Puppet::Parser::Functions.function(:defined)
parser = mkparser
%w{one two}.each do |name|
parser.newdefine name