summaryrefslogtreecommitdiffstats
path: root/spec/integration/parser/functions
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/parser/functions')
-rwxr-xr-xspec/integration/parser/functions/include.rb2
-rwxr-xr-xspec/integration/parser/functions/require.rb2
2 files changed, 2 insertions, 2 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")
diff --git a/spec/integration/parser/functions/require.rb b/spec/integration/parser/functions/require.rb
index 5f95ec520..143729967 100755
--- a/spec/integration/parser/functions/require.rb
+++ b/spec/integration/parser/functions/require.rb
@@ -16,7 +16,7 @@ describe "The require function" do
end
it "should add a dependency between the 'required' class and our class" do
- @compiler.known_resource_types.add Puppet::Parser::ResourceType.new(:hostclass, "requiredclass")
+ @compiler.known_resource_types.add Puppet::Resource::Type.new(:hostclass, "requiredclass")
@scope.function_require("requiredclass")
@scope.resource["require"].should_not be_nil