From 54a225dd26d867d5672df48a5bc0ed858821bf40 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Sat, 1 Aug 2009 23:24:54 -0700 Subject: Fixing tests broken by caching autoload results These tests tried to load something, verified the loads didn't work, and then created the thing to load. This is a bit silly, so I just removed those sections of the tests. Signed-off-by: Luke Kanies --- lib/puppet/parser/scope.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/parser') diff --git a/lib/puppet/parser/scope.rb b/lib/puppet/parser/scope.rb index 71b9be27c..d6d663041 100644 --- a/lib/puppet/parser/scope.rb +++ b/lib/puppet/parser/scope.rb @@ -403,7 +403,7 @@ class Puppet::Parser::Scope # Undefine a variable; only used for testing. def unsetvar(var) - table = ephemeral?(var) ? @ephemeral : @table + table = ephemeral?(var) ? @ephemeral : @symtable if table.include?(var) table.delete(var) end -- cgit