+ Patch from Sean Cashin that fixes filter behaviour

Filters would not accept apostrophes, now they do.
Thanks Sean Cashin (http://github.com/scashin133)!
This commit is contained in:
Kaspar Schiess 2010-10-08 16:41:02 +02:00
parent 7143490850
commit cd866c0109
2 changed files with 6 additions and 1 deletions

View file

@ -44,5 +44,10 @@ describe Net::LDAP::Filter do
end
end
end
describe "<- .construct" do
it "should accept apostrophes in filters (regression)" do
Net::LDAP::Filter.construct("uid=O'Keefe").to_rfc2254.should == "(uid=O'Keefe)"
end
end
end