Skip to content

Commit 811369c

Browse files
author
Austin Ziegler
committed
Merge branch 'master' of github.com:RoryO/ruby-net-ldap
2 parents 393b574 + 3804590 commit 811369c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/integration/ssl_ber_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ def transmit(str)
1616
before(:each) do
1717
@from, @to = IO.pipe
1818

19+
# The production code operates on sockets, which do need #connect called
20+
# on them to work. Pipes are more robust for this test, so we'll skip
21+
# the #connect call since it fails.
1922
flexmock(OpenSSL::SSL::SSLSocket).
2023
new_instances.should_receive(:connect => nil)
2124

0 commit comments

Comments
 (0)