diff options
Diffstat (limited to 'test')
| -rwxr-xr-x | test/types/mount.rb | 10 |
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$ |
