Skip to content

Commit 2137361

Browse files
author
Tom Maher
committed
vagrant fix for macOS v Linux?
1 parent 7b2bb02 commit 2137361

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/integration/test_bind.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ def test_bind_timeout
1010
error = assert_raise Net::LDAP::Error do
1111
@ldap.bind(method: :simple, username: "uid=user1,ou=People,dc=rubyldap,dc=com", password: "passworD1")
1212
end
13-
assert_equal('Connection timed out - user specified timeout', error.message)
13+
msgs = ['Operation timed out - user specified timeout',
14+
'Connection timed out - user specified timeout']
15+
assert_send([msgs, :include?, error.message])
1416
end
1517

1618
def test_bind_anonymous_fail

0 commit comments

Comments
 (0)