summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-10-26 20:36:01 -0700
committerLuke Kanies <luke@madstop.com>2009-10-26 20:36:01 -0700
commit6846c327e120b88334853bcc947f522b2cd9e377 (patch)
tree21b87f90154b1307737c07a7f710f7765aab6018
parent0043392f170853df7311c3e823dcac9323a282f0 (diff)
downloadpuppet-6846c327e120b88334853bcc947f522b2cd9e377.tar.gz
puppet-6846c327e120b88334853bcc947f522b2cd9e377.tar.xz
puppet-6846c327e120b88334853bcc947f522b2cd9e377.zip
Fixing some recently broken Scope tests
Signed-off-by: Luke Kanies <luke@madstop.com>
-rwxr-xr-xspec/unit/parser/scope.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/parser/scope.rb b/spec/unit/parser/scope.rb
index 0859eadb4..d7800e4b3 100755
--- a/spec/unit/parser/scope.rb
+++ b/spec/unit/parser/scope.rb
@@ -43,7 +43,7 @@ describe Puppet::Parser::Scope do
describe "and the variable is qualified" do
before do
@parser = Puppet::Parser::Parser.new()
- @compiler = Puppet::Parser::Compiler.new(stub("node", :name => "foonode"), @parser)
+ @compiler = Puppet::Parser::Compiler.new(stub("node", :name => "foonode", :classes => []), @parser)
@scope.compiler = @compiler
@scope.parser = @parser
end