summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/types/tc_type.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/types/tc_type.rb b/test/types/tc_type.rb
index a62291bfc..53e6a93da 100644
--- a/test/types/tc_type.rb
+++ b/test/types/tc_type.rb
@@ -56,6 +56,7 @@ class TestType < Test::Unit::TestCase
file = Puppet::Type::PFile.new(
:path => path,
:create => true,
+ :recurse => true,
:checksum => "md5"
)
}
@@ -71,6 +72,7 @@ class TestType < Test::Unit::TestCase
file = Puppet::Type::PFile.new(
"path" => path,
"create" => true,
+ "recurse" => true,
"checksum" => "md5"
)
}
@@ -78,6 +80,18 @@ class TestType < Test::Unit::TestCase
file.retrieve
}
assert_nothing_raised() {
+ file[:path]
+ }
+ assert_nothing_raised() {
+ file["path"]
+ }
+ assert_nothing_raised() {
+ file[:recurse]
+ }
+ assert_nothing_raised() {
+ file["recurse"]
+ }
+ assert_nothing_raised() {
file.sync
}
end