test/ldap_test.rb in github-ldap-1.0.4 vs test/ldap_test.rb in github-ldap-1.0.5
- old
+ new
@@ -19,13 +19,15 @@
assert @ldap.test_connection, "Ldap connection expected to succeed"
end
def test_simple_tls
assert_equal :simple_tls, @ldap.check_encryption(:ssl)
+ assert_equal :simple_tls, @ldap.check_encryption('SSL')
assert_equal :simple_tls, @ldap.check_encryption(:simple_tls)
end
def test_start_tls
assert_equal :start_tls, @ldap.check_encryption(:tls)
+ assert_equal :start_tls, @ldap.check_encryption('TLS')
assert_equal :start_tls, @ldap.check_encryption(:start_tls)
end
end