summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/scope.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-08-01 23:24:54 -0700
committerJames Turnbull <james@lovedthanlost.net>2009-08-02 16:38:49 +1000
commit54a225dd26d867d5672df48a5bc0ed858821bf40 (patch)
treede489ee258993c812ad7cbc803fb9657721b6d1c /lib/puppet/parser/scope.rb
parent1ce31b4f5c5a38aa6914a5367ea6dd8db53174ab (diff)
downloadpuppet-54a225dd26d867d5672df48a5bc0ed858821bf40.tar.gz
puppet-54a225dd26d867d5672df48a5bc0ed858821bf40.tar.xz
puppet-54a225dd26d867d5672df48a5bc0ed858821bf40.zip
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 <luke@madstop.com>
Diffstat (limited to 'lib/puppet/parser/scope.rb')
-rw-r--r--lib/puppet/parser/scope.rb2
1 files changed, 1 insertions, 1 deletions
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