From 6affe220db1248cee8489347dc7d7ac071a534e4 Mon Sep 17 00:00:00 2001 From: luke Date: Tue, 7 Feb 2006 05:58:00 +0000 Subject: Committing both the finalization of the config code, plus all of the code necessary to get basic isomorphism from code to transportables and back. Mostly keyword and autoname stuff. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@871 980ebf18-57e1-0310-9a29-db15c13687c0 --- test/parser/parser.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/parser/parser.rb') diff --git a/test/parser/parser.rb b/test/parser/parser.rb index 68209a0d2..13b8a2e85 100644 --- a/test/parser/parser.rb +++ b/test/parser/parser.rb @@ -95,7 +95,7 @@ class TestParser < Test::Unit::TestCase } end - def test_zdefaults + def test_defaults basedir = File.join(tmpdir(), "defaulttesting") @@tmpfiles << basedir Dir.mkdir(basedir) @@ -151,6 +151,8 @@ class TestParser < Test::Unit::TestCase scope = nil assert_nothing_raised("Could not evaluate defaults parse tree") { scope = Puppet::Parser::Scope.new() + scope.name = "parsetest" + scope.type = "parsetest" objects = scope.evaluate(ast) } -- cgit