diff options
author | elijah <elijah@riseup.net> | 2016-09-28 15:06:04 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-09-28 15:06:04 -0700 |
commit | e207c628f9aeadf1c93b6756f00bb97789dc7673 (patch) | |
tree | 85289f2a0433c878a97550fa3274661f5d2a0dee /test/test_helper.rb | |
parent | bc50fa403a76496df7fe3f242838da3bafa58665 (diff) |
actually fix ci tests
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r-- | test/test_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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) |