summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-04-09 14:33:48 -0700
committerJesse Wolfe <jes5199@gmail.com>2010-04-09 14:33:48 -0700
commite89549450434d09284bf1a851a39b74e71cb0d7f (patch)
tree5bf485783c7a26a572c35a8f59cdf0dc263c40d8 /spec
parent94651df232b0bc0fed066ac005cccc9d5db0c152 (diff)
downloadpuppet-e89549450434d09284bf1a851a39b74e71cb0d7f.tar.gz
puppet-e89549450434d09284bf1a851a39b74e71cb0d7f.tar.xz
puppet-e89549450434d09284bf1a851a39b74e71cb0d7f.zip
Puppet::Parser::Resource.new parameters have changed
Diffstat (limited to 'spec')
-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