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
|
context "when returning result set" do
|
||||||
it "should return nil upon error" do
|
it "should return nil upon error" do
|
||||||
result_set = @connection.search(:return_result => true) do
|
result_set = @connection.search(:return_result => true)
|
||||||
end
|
|
||||||
result_set.should be_nil
|
result_set.should be_nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue