From e207c628f9aeadf1c93b6756f00bb97789dc7673 Mon Sep 17 00:00:00 2001 From: elijah Date: Wed, 28 Sep 2016 15:06:04 -0700 Subject: actually fix ci tests --- test/test_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_helper.rb') diff --git a/test/test_helper.rb b/test/test_helper.rb index e0cd1e1..cd856a3 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -44,7 +44,7 @@ class Minitest::Test end def leap_bin(*args) - cmd = "cd #{provider_path} && #{base_path}/bin/leap --no-color #{args.join ' '}" + cmd = "cd #{provider_path} && PLATFORM_DIR=#{platform_path} #{base_path}/bin/leap --debug --yes --no-color #{args.join ' '}" `#{cmd}` end @@ -67,7 +67,7 @@ class Minitest::Test # in a sister directory to leap_cli. # def platform_path - "#{base_path}/../leap_platform" + ENV['PLATFORM_DIR'] || "#{base_path}/../leap_platform" end def cleanup_files(*args) -- cgit v1.2.3