summaryrefslogtreecommitdiffstats
path: root/test/network
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 /test/network
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 'test/network')
-rwxr-xr-xtest/network/client/resource.rb4
-rwxr-xr-xtest/network/handler/resource.rb6
2 files changed, 5 insertions, 5 deletions
diff --git a/test/network/client/resource.rb b/test/network/client/resource.rb
index 6a2e52471..86c6ccd2f 100755
--- a/test/network/client/resource.rb
+++ b/test/network/client/resource.rb
@@ -40,7 +40,7 @@ class TestResourceClient < Test::Unit::TestCase
resource = nil
assert_nothing_raised {
- resource = tresource.to_type
+ resource = tresource.to_ral
}
assert_events([], resource)
p resource.instance_variable_get("@stat")
@@ -75,7 +75,7 @@ class TestResourceClient < Test::Unit::TestCase
resource = nil
assert_nothing_raised {
- resource = tresource2.to_type
+ resource = tresource2.to_ral
}
assert_events([], resource)
diff --git a/test/network/handler/resource.rb b/test/network/handler/resource.rb
index 269c9571c..d766c685d 100755
--- a/test/network/handler/resource.rb
+++ b/test/network/handler/resource.rb
@@ -15,7 +15,7 @@ class TestResourceServer < Test::Unit::TestCase
described.each do |name, trans|
obj = nil
assert_nothing_raised do
- obj = trans.to_type
+ obj = trans.to_ral
end
assert(obj, "Could not create object")
@@ -61,7 +61,7 @@ class TestResourceServer < Test::Unit::TestCase
object = nil
assert_nothing_raised do
- object = result.to_type
+ object = result.to_ral
end
assert(object, "Could not create type")
@@ -110,7 +110,7 @@ class TestResourceServer < Test::Unit::TestCase
object = nil
assert_nothing_raised do
- object = result.to_type
+ object = result.to_ral
end
catalog = mk_catalog(object)