summaryrefslogtreecommitdiffstats
path: root/spec/unit/parser/functions/require_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/parser/functions/require_spec.rb')
-rwxr-xr-xspec/unit/parser/functions/require_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/parser/functions/require_spec.rb b/spec/unit/parser/functions/require_spec.rb
index bd42fa579..49c4bbf74 100755
--- a/spec/unit/parser/functions/require_spec.rb
+++ b/spec/unit/parser/functions/require_spec.rb
@@ -6,7 +6,7 @@ describe "the require function" do
before :each do
@catalog = stub 'catalog'
- @compiler = stub 'compiler', :catalog => @catalog
+ @compiler = stub 'compiler', :catalog => @catalog, :environment => nil
@scope = Puppet::Parser::Scope.new
@scope.stubs(:findresource)