diff options
| author | mo khan <mo.khan@gmail.com> | 2020-06-05 14:03:06 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-06-05 14:03:06 -0600 |
| commit | 812d23695017ae34f196d19742821f20167c3704 (patch) | |
| tree | ff9294fbffb2fa13014126b82a72361361632cad /spec/support | |
| parent | 12ef778891c4bf9fae19ffdc9d566fc7ab309957 (diff) | |
Launch the desired Java version
Diffstat (limited to 'spec/support')
| -rw-r--r-- | spec/support/integration_test_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/integration_test_helper.rb b/spec/support/integration_test_helper.rb index aa3f0c0..e84ddd0 100644 --- a/spec/support/integration_test_helper.rb +++ b/spec/support/integration_test_helper.rb @@ -42,7 +42,7 @@ module IntegrationTestHelper def initialize(project_path = File.join(Dir.pwd, 'tmp', SecureRandom.uuid)) FileUtils.mkdir_p(project_path) - @project_path = project_path + @project_path = Pathname(project_path) end def add_file(name, content = nil) @@ -67,7 +67,7 @@ module IntegrationTestHelper end def scan(env: {}) - return {} unless execute(env, './bin/docker-test', project_path) + return {} unless execute(env, './bin/docker-test', project_path.to_s) report_path = "#{project_path}/gl-license-management-report.json" return {} unless File.exist?(report_path) |
