diff options
Diffstat (limited to 'spec/unit/parser')
| -rwxr-xr-x | spec/unit/parser/resource.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/parser/resource.rb b/spec/unit/parser/resource.rb index 5ae8a644a..e778dc8e4 100755 --- a/spec/unit/parser/resource.rb +++ b/spec/unit/parser/resource.rb @@ -65,10 +65,10 @@ describe Puppet::Parser::Resource do end it "should use a Puppet::Resource for converting to a ral resource" do - trans = mock 'resource', :to_type => "yay" + trans = mock 'resource', :to_ral => "yay" @resource = mkresource @resource.expects(:to_resource).returns trans - @resource.to_type.should == "yay" + @resource.to_ral.should == "yay" end describe "when initializing" do |
