diff options
Diffstat (limited to 'spec/unit/provider/user')
-rwxr-xr-x | spec/unit/provider/user/ldap.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/unit/provider/user/ldap.rb b/spec/unit/provider/user/ldap.rb index 4386fa85d..7e039d582 100755 --- a/spec/unit/provider/user/ldap.rb +++ b/spec/unit/provider/user/ldap.rb @@ -24,6 +24,9 @@ describe provider_class do provider_class.manager.rdn.should == :uid end + it "should be able to manage passwords" do + provider_class.should be_manages_passwords + it "should use the ldap group provider to convert group names to numbers" do provider = provider_class.new(:name => "foo") Puppet::Type.type(:group).provider(:ldap).expects(:name2id).with("bar").returns 10 |