diff options
| author | Luke Kanies <luke@madstop.com> | 2008-12-11 08:24:43 -0600 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-12-18 11:10:22 -0600 |
| commit | 60062e4b9ae479ddbf97f4fc3495d04bc00196d5 (patch) | |
| tree | 4eee797b0c2f883c1daeb383a07ca87749cd7d11 /spec/unit/parser | |
| parent | 6b14000ae54a11da3fa16c1b4685f630abca869b (diff) | |
| download | puppet-60062e4b9ae479ddbf97f4fc3495d04bc00196d5.tar.gz puppet-60062e4b9ae479ddbf97f4fc3495d04bc00196d5.tar.xz puppet-60062e4b9ae479ddbf97f4fc3495d04bc00196d5.zip | |
Renaming the "Catalog#to_type" method to "Catalog#to_ral"
Signed-off-by: Luke Kanies <luke@madstop.com>
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 |
