summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-11-10 17:51:47 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-11-10 17:51:47 +0000
commitb44ebe21d550663af82c44b090b29f8cc902ed36 (patch)
treeee51f3180d25875a7c856d6208cec6020a05ff3a /test
parent9f8849e81a34a2cf5d81a1c5fdea2aa9d51aa63d (diff)
downloadpuppet-b44ebe21d550663af82c44b090b29f8cc902ed36.tar.gz
puppet-b44ebe21d550663af82c44b090b29f8cc902ed36.tar.xz
puppet-b44ebe21d550663af82c44b090b29f8cc902ed36.zip
Fixing some warnings
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1853 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
-rwxr-xr-xtest/types/mount.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/types/mount.rb b/test/types/mount.rb
index aab80506d..2b69e73dd 100755
--- a/test/types/mount.rb
+++ b/test/types/mount.rb
@@ -105,6 +105,7 @@ class TestMounts < Test::Unit::TestCase
mount = mkmount
assert_apply(mount)
+ assert_events([], mount)
assert_nothing_raised { mount.retrieve }
@@ -148,6 +149,15 @@ class TestMounts < Test::Unit::TestCase
obj.retrieve
assert(obj.provider.mounted?, "Object is not mounted")
end
+
+ def test_list
+ list = nil
+ assert_nothing_raised do
+ list = Puppet::Type.type(:mount).list
+ end
+
+ assert(list.length > 0, "Did not return any mounts")
+ end
end
# $Id$