diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-01-07 23:33:38 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-01-07 23:33:38 +0000 |
commit | 23f982ecda3fd74867d404b5e784f072db9a1cde (patch) | |
tree | 18a122eec695455c794caa554012fe1ee721ffa6 /test/language/snippets.rb | |
parent | 1d739731b20a5dd10a190d783556d5c5a0275137 (diff) | |
download | puppet-23f982ecda3fd74867d404b5e784f072db9a1cde.tar.gz puppet-23f982ecda3fd74867d404b5e784f072db9a1cde.tar.xz puppet-23f982ecda3fd74867d404b5e784f072db9a1cde.zip |
Undoing the merge that happened in 785
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@786 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/language/snippets.rb')
-rwxr-xr-x | test/language/snippets.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/language/snippets.rb b/test/language/snippets.rb index a213d554f..f7cf21548 100755 --- a/test/language/snippets.rb +++ b/test/language/snippets.rb @@ -159,7 +159,7 @@ class TestSnippets < Test::Unit::TestCase %w{a b c d}.each { |letter| file = "/tmp/create%stest" % letter Puppet.info "testing %s" % file - assert(Puppet.type(:file)[file], "File %s does not exist" % file) + assert(Puppet::Type::PFile[file], "File %s does not exist" % file) assert(FileTest.exists?(file)) @@tmpfiles << file } @@ -217,7 +217,7 @@ class TestSnippets < Test::Unit::TestCase obj = nil assert_nothing_raised { - obj = Puppet.type(:file)[file] + obj = Puppet::Type::PFile[file] } assert_nothing_raised { |