diff options
author | Luke Kanies <luke@madstop.com> | 2009-08-01 23:24:54 -0700 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-08-02 16:38:49 +1000 |
commit | 54a225dd26d867d5672df48a5bc0ed858821bf40 (patch) | |
tree | de489ee258993c812ad7cbc803fb9657721b6d1c /lib/puppet/parser/scope.rb | |
parent | 1ce31b4f5c5a38aa6914a5367ea6dd8db53174ab (diff) | |
download | puppet-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.rb | 2 |
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 |