summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-06 04:49:45 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-06 04:49:45 +0000
commite309b76e168f83e27cf541dc19a02c5b25c1e47c (patch)
treef5849a38377df2d719646c438d43ccdb9a99702f /test
parentc5ce953462f424138f0009ce978eb9620aff84a7 (diff)
Modifying the provider base class so that it defines a method for every used command (e.g., you call "commands :rpm => 'rpm'", and it defines an "rpm" method. I then pushed this throughout the package providers, which are the heaviest users of commands.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1571 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
-rw-r--r--test/types/package.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/types/package.rb b/test/types/package.rb
index dfc3e4ced..51bfc5fa3 100644
--- a/test/types/package.rb
+++ b/test/types/package.rb
@@ -167,7 +167,7 @@ class TestPackages < Test::Unit::TestCase
file = tempfile()
File.open(file, "w") { |f| f.puts :yayness }
obj[:source] = file
- assert_raise(Puppet::PackageError,
+ assert_raise(Puppet::Error,
"Successfully installed nonexistent package") {
state.sync
}