Skip to content

Commit

Permalink
fix test mock
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed Jun 16, 2016
1 parent 09d0c36 commit d192a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_ldap_connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def test_queued_read_setup_encryption_with_start_tls
and_return(result2)
mock.should_receive(:write)
conn = Net::LDAP::Connection.new(:socket => mock)
flexmock(Net::LDAP::Connection).should_receive(:wrap_with_ssl).with(mock, {}).
flexmock(Net::LDAP::Connection).should_receive(:wrap_with_ssl).with(mock, {}, 5).
and_return(mock)

conn.next_msgid # simulates ongoing query
Expand Down

0 comments on commit d192a85

Please sign in to comment.