inspec/test/unit/profiles
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
..
control_eval_context_test.rb Allow inspec check to ignore only_if (#2250) 2017-12-05 14:13:41 +01:00
library_eval_context_test.rb bugfix: dependency chaining in libraries (#2428) 2018-01-02 12:41:01 -08:00
metadata_test.rb Add platform resource and platform supports (#2393) 2018-01-02 11:04:13 -08:00
profile_context_test.rb Fix tests for ruby 2.5 (#3125) 2018-06-11 11:25:16 -04:00
profile_resource_exceptions_test.rb Remove deprecations for InSpec 2.0 (#2506) 2018-02-08 11:05:21 +01:00
profile_test.rb When a profile is created with init, the last item after a / is the (#3175) 2018-07-05 15:37:18 -04:00