mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
88581ae3dd
When attempting to parse the profile out of the target URL, we were not raising an exception if we failed to do so. Such a situation could arise if a user's inspec config.json is incorrect either due to manual editing or failure to re-login after an upgrade past Automate 0.8.0. This change provides a clear exception if this occurs and also adds tests for the compliance_profile_name method. Signed-off-by: Adam Leff <adam@leff.co> |
||
---|---|---|
.. | ||
cookbooks/os_prepare | ||
functional | ||
integration/default | ||
resource | ||
unit | ||
docker_run.rb | ||
docker_test.rb | ||
helper.rb | ||
test-extra.yaml | ||
test.yaml |