From b44ebe21d550663af82c44b090b29f8cc902ed36 Mon Sep 17 00:00:00 2001 From: luke Date: Fri, 10 Nov 2006 17:51:47 +0000 Subject: Fixing some warnings git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1853 980ebf18-57e1-0310-9a29-db15c13687c0 --- test/types/mount.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test') 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$ -- cgit