summaryrefslogtreecommitdiffstats
path: root/spec/integration/parser/functions/include.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/parser/functions/include.rb')
-rwxr-xr-xspec/integration/parser/functions/include.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/parser/functions/include.rb b/spec/integration/parser/functions/include.rb
index 64346bffb..f84d43276 100755
--- a/spec/integration/parser/functions/include.rb
+++ b/spec/integration/parser/functions/include.rb
@@ -14,7 +14,7 @@ describe "The include function" do
end
it "should add a containment relationship between the 'included' class and our class" do
- @compiler.known_resource_types.add Puppet::Parser::ResourceType.new(:hostclass, "includedclass")
+ @compiler.known_resource_types.add Puppet::Resource::Type.new(:hostclass, "includedclass")
@scope.function_include("includedclass")