summaryrefslogtreecommitdiffstats
path: root/test/other/tc_transactions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/other/tc_transactions.rb')
-rw-r--r--test/other/tc_transactions.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/other/tc_transactions.rb b/test/other/tc_transactions.rb
index ac2cd8578..03c5134e2 100644
--- a/test/other/tc_transactions.rb
+++ b/test/other/tc_transactions.rb
@@ -31,13 +31,13 @@ class TestTransactions < Test::Unit::TestCase
def newfile
assert_nothing_raised() {
cfile = File.join($puppetbase,"examples/root/etc/configfile")
- unless Puppet::Type::File.has_key?(cfile)
- Puppet::Type::File.new(
+ unless Puppet::Type::PFile.has_key?(cfile)
+ Puppet::Type::PFile.new(
:path => cfile,
:check => [:mode, :owner, :group]
)
end
- return Puppet::Type::File[cfile]
+ return Puppet::Type::PFile[cfile]
}
end