No need to pass empty block to search
This commit is contained in:
parent
a4819e525f
commit
2336188503
1 changed files with 1 additions and 2 deletions
|
@ -15,8 +15,7 @@ describe Net::LDAP, "search method" do
|
|||
|
||||
context "when returning result set" do
|
||||
it "should return nil upon error" do
|
||||
result_set = @connection.search(:return_result => true) do
|
||||
end
|
||||
result_set = @connection.search(:return_result => true)
|
||||
result_set.should be_nil
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue