From f950eca64ef2b73c5219ed830c6749c689046032 Mon Sep 17 00:00:00 2001 From: Tatsuya Sato Date: Mon, 21 Sep 2015 23:10:38 +0900 Subject: [PATCH] Specify the port of LDAP server by giving INTEGRATION_PORT environment variable --- test/test_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index 640b0e23..cd34017c 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -56,7 +56,7 @@ def setup @service = MockInstrumentationService.new @ldap = Net::LDAP.new \ host: ENV.fetch('INTEGRATION_HOST', 'localhost'), - port: 389, + port: ENV.fetch('INTEGRATION_PORT', 389), admin_user: 'uid=admin,dc=rubyldap,dc=com', admin_password: 'passworD1', search_domains: %w(dc=rubyldap,dc=com),