summaryrefslogtreecommitdiffstats
path: root/spec/unit/parser
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-12-11 08:24:43 -0600
committerLuke Kanies <luke@madstop.com>2008-12-18 11:10:22 -0600
commit60062e4b9ae479ddbf97f4fc3495d04bc00196d5 (patch)
tree4eee797b0c2f883c1daeb383a07ca87749cd7d11 /spec/unit/parser
parent6b14000ae54a11da3fa16c1b4685f630abca869b (diff)
downloadpuppet-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-xspec/unit/parser/resource.rb4
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