summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xspec/unit/parser/resource.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/parser/resource.rb b/spec/unit/parser/resource.rb
index 9836910e7..1af9da379 100755
--- a/spec/unit/parser/resource.rb
+++ b/spec/unit/parser/resource.rb
@@ -75,7 +75,7 @@ describe Puppet::Parser::Resource do
it "should use the scope's environment as its environment" do
@scope.expects(:environment).returns "myenv"
- Puppet::Parser::Resource.new(:type => "file", :title => "whatever", :scope => @scope).environment.should == "myenv"
+ Puppet::Parser::Resource.new("file", "whatever", :scope => @scope).environment.should == "myenv"
end
it "should be isomorphic if it is builtin and models an isomorphic type" do