OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/spec/support/parallel_helper.rb

10 lines
188 B

class ParallelHelper
def self.port_for_ldap
ENV.fetch('TEST_ENV_NUMBER', '1').to_i + 12389
end
def self.port_for_app
ENV.fetch('TEST_ENV_NUMBER', '1').to_i + 3000
end
end