diff options
author | Luke Kanies <luke@madstop.com> | 2007-09-22 01:24:04 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-09-22 01:24:04 -0500 |
commit | a66699596452f88d2bc467af4cff3f9a1aec3d1e (patch) | |
tree | f24e797d1709e27374692f079980167d5f136daf /spec/unit/indirector/ldap.rb | |
parent | ebe7290bf0c9119e268c9037c33da515e527aa5b (diff) | |
download | puppet-a66699596452f88d2bc467af4cff3f9a1aec3d1e.tar.gz puppet-a66699596452f88d2bc467af4cff3f9a1aec3d1e.tar.xz puppet-a66699596452f88d2bc467af4cff3f9a1aec3d1e.zip |
Adding the last tests for the ldap node terminus. I managed
to forget the tests around the main find() method.
Diffstat (limited to 'spec/unit/indirector/ldap.rb')
-rwxr-xr-x | spec/unit/indirector/ldap.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/indirector/ldap.rb b/spec/unit/indirector/ldap.rb index a936936bc..fe9408986 100755 --- a/spec/unit/indirector/ldap.rb +++ b/spec/unit/indirector/ldap.rb @@ -78,7 +78,7 @@ describe Puppet::Indirector::Ldap, " when searching ldap" do it "should call process() on the first found entry" do @connection.expects(:search).yields("myresult") - @searcher.expects(:process).with("myresult") + @searcher.expects(:process).with("yay", "myresult") @searcher.find "yay" end @@ -92,7 +92,7 @@ describe Puppet::Indirector::Ldap, " when searching ldap" do raise "failed" end end.yields("myresult") - @searcher.expects(:process).with("myresult") + @searcher.expects(:process).with("yay", "myresult") @searcher.find "yay" end |