Merge branch 'master' of github.com:RoryO/ruby-net-ldap
This commit is contained in:
commit
811369ce94
|
@ -16,6 +16,9 @@ describe "BER serialisation (SSL)" do
|
|||
before(:each) do
|
||||
@from, @to = IO.pipe
|
||||
|
||||
# The production code operates on sockets, which do need #connect called
|
||||
# on them to work. Pipes are more robust for this test, so we'll skip
|
||||
# the #connect call since it fails.
|
||||
flexmock(OpenSSL::SSL::SSLSocket).
|
||||
new_instances.should_receive(:connect => nil)
|
||||
|
||||
|
|
Loading…
Reference in a new issue