inspec/test
Adam Leff 88581ae3dd
Raise exception if profile target URL cannot be parsed
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>
2017-05-26 14:30:37 -05:00
..
cookbooks/os_prepare Docker resource (#1566) 2017-04-24 10:47:03 -04:00
functional Added functional tests for inspec version --format json 2017-05-17 09:41:38 -04:00
integration/default Docker resource (#1566) 2017-04-24 10:47:03 -04:00
resource Add FreeBSD support for ZFS datasets and pools 2017-02-22 10:29:49 -07:00
unit Raise exception if profile target URL cannot be parsed 2017-05-26 14:30:37 -05:00
docker_run.rb travis experiment: lower docker concurrency 2016-08-10 12:52:21 +01:00
docker_test.rb Load all dependent libraries, even if include_context isn't called 2016-09-04 20:55:20 +02:00
helper.rb Raise exception if profile target URL cannot be parsed 2017-05-26 14:30:37 -05:00
test-extra.yaml split up tests for travis 2015-09-23 01:51:51 +02:00
test.yaml split up tests for travis 2015-09-23 01:51:51 +02:00