summaryrefslogtreecommitdiff
path: root/spec/support/integration_test_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/integration_test_helper.rb')
-rw-r--r--spec/support/integration_test_helper.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/support/integration_test_helper.rb b/spec/support/integration_test_helper.rb
index 52693f2..b25297c 100644
--- a/spec/support/integration_test_helper.rb
+++ b/spec/support/integration_test_helper.rb
@@ -92,6 +92,12 @@ module IntegrationTestHelper
end
end
+ def private_maven_host
+ @private_maven_host ||= ENV.fetch('PRIVATE_MAVEN_HOST').tap do |host|
+ add_host(host, ENV.fetch('PRIVATE_MAVEN_IP'))
+ end
+ end
+
def runner(*args)
@runner ||= IntegrationTestRunner.new(*args)
end