summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/types/user.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/types/user.rb b/test/types/user.rb
index 41231a687..485ce1c38 100755
--- a/test/types/user.rb
+++ b/test/types/user.rb
@@ -446,6 +446,15 @@ class TestUser < Test::Unit::TestCase
user[:ensure] = :absent
assert_apply(user)
end
+
+ # Testing #455
+ def test_autorequire_with_no_group_should
+ user = Puppet::Type.type(:user).create(:name => "user", :check => :all)
+
+ assert_nothing_raised do
+ user.autorequire
+ end
+ end
end
# $Id$