inspec/test/unit
Miah Johnson a084187b21 When a profile is created with init, the last item after a / is the (#3175)
profile name. eg "with/slash" would result in a profile created in the
"with" directory named "slash"

Add test for inspec init, and updated other for new output.

Clean up profiles created during testing and place them in temporary
directories.

Describe our test a bit better.
Check that the profile was created in the right location.
Check that the profile is named correctly.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2018-07-05 15:37:18 -04:00
..
bundles Fix the A2 vendoring with depends on the A2 server. (#3022) 2018-05-04 12:25:40 -04:00
dependencies Add parent_profile field in json output (#3164) 2018-06-26 13:04:31 -04:00
dsl Sort gotten file list on test (#2812) 2018-03-14 09:35:43 -04:00
fetchers Fix the git fetcher to vendor correctly (#3097) 2018-05-31 13:53:14 -04:00
mock Add functional tests for nested attributes (#3157) 2018-06-26 07:48:20 -04:00
objects bugfix: default attributes for nil and false (#2410) 2017-12-21 14:20:59 +01:00
plugins Prevent resources from loading if supports check fails (#2665) 2018-02-16 15:15:53 -05:00
profiles When a profile is created with init, the last item after a / is the (#3175) 2018-07-05 15:37:18 -04:00
reporters Add insecure option to the automate report json (#3124) 2018-06-14 14:05:21 -04:00
resource_supports/aws Capture ArgumentErrors from aws. (#2673) 2018-02-17 16:50:35 +01:00
resources apache_conf resource: Strip quotes from values (#3142) 2018-06-26 07:48:48 -04:00
source_readers Sort gotten file list on test (#2812) 2018-03-14 09:35:43 -04:00
utils nginx_conf resource: Fix include paths with quotes (#2726) 2018-05-03 09:53:20 -04:00
base_cli_test.rb Add automate reporter (#2902) 2018-04-05 08:51:51 -04:00
file_provider_test.rb Remove meaningless stdout message (#2313) 2017-11-17 15:56:36 -05:00
helper.rb Rely on unit test helper to load resources, not individual AWS tests 2018-02-07 12:09:08 -05:00
runner_test.rb Allow ad-hoc runners to use rspec formats. (#2621) 2018-02-12 19:29:54 +01:00
shell_detector_test.rb Corrected some unit test warnings (#2242) 2017-10-17 14:49:26 +02:00