diff options
author | Luke Kanies <luke@madstop.com> | 2005-06-29 21:16:54 +0000 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2005-06-29 21:16:54 +0000 |
commit | 3441b82f84ff7dbc15e9a9d3c20da84a7eae8ce5 (patch) | |
tree | 2938f0ff110748a0ea61adafd84880b293902d07 /test/other/tc_transactions.rb | |
parent | f250d920627696bab766dffe6c8e6a8983298fc6 (diff) | |
download | puppet-3441b82f84ff7dbc15e9a9d3c20da84a7eae8ce5.tar.gz puppet-3441b82f84ff7dbc15e9a9d3c20da84a7eae8ce5.tar.xz puppet-3441b82f84ff7dbc15e9a9d3c20da84a7eae8ce5.zip |
finishing rename of file class
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@323 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/other/tc_transactions.rb')
-rw-r--r-- | test/other/tc_transactions.rb | 6 |
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 |