module Prof::ExternalSpec::Helpers::ProductPath

Public Instance Methods

product_path() click to toggle source
# File lib/prof/external_spec/helpers/product_path.rb, line 15
def product_path
  artifact_path = ENV.fetch('TEMPEST_ARTIFACT_PATH') { raise 'Must set TEMPEST_ARTIFACT_PATH environment variable' }
  fail "Can't find artifact at #{artifact_path}" unless File.exist?(artifact_path)
  artifact_path
end