Don't try net/ldap connection on CI

pull/4945/head
Oliver Günther 8 years ago
parent b3b047a904
commit bf66db6ef9
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 2
      spec_legacy/support/legacy_assertions.rb

@ -204,6 +204,8 @@ module LegacyAssertionsAndHelpers
module ClassMethods
def ldap_configured?
return false if !!ENV['CI']
@test_ldap = Net::LDAP.new(host: '127.0.0.1', port: 389)
return @test_ldap.bind
rescue Exception => e

Loading…
Cancel
Save