inspec/test/unit
Clinton Wolfe 656423d7f2 Issue warning during check if profile name contains slash (#2231)
* Add failing unit test for deprecation warning on profiles with slashes in their name

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Issue warning during validation if name contains a slash

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Slug profile names generated from target paths to prevent breaking unit tests

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Rubocop whinges

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Update functional test watching for default profile name

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Make deprecation warning more descriptive

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Rubocop whinges

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Set title with original test path if no profile name or title provided

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Rubocop whinges

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2017-11-09 12:32:54 +01:00
..
bundles Switch to tomlrb for TOML parsing (#2295) 2017-11-08 11:41:00 +01:00
dependencies Properly compare profile version strings as SemVer (#2280) 2017-11-09 12:29:41 +01:00
dsl Include ref when writing out inspec control objects (#2259) 2017-10-24 17:50:23 -04:00
fetchers Don't send HTTP headers that have nil values (#1948) 2017-06-21 19:09:13 -05:00
mock Issue warning during check if profile name contains slash (#2231) 2017-11-09 12:32:54 +01:00
objects forgiving default attributes (#2177) 2017-09-22 08:57:51 -04:00
plugins Remove some warnings during the test run 2016-09-09 14:14:36 +01:00
profiles Issue warning during check if profile name contains slash (#2231) 2017-11-09 12:32:54 +01:00
resources Add non-halting exception support to resources (#2235) 2017-11-06 13:28:53 -05:00
source_readers Source reader should not hand back files with nil contents (#2003) 2017-07-11 21:33:55 +02:00
utils nginx resource: support quoted identifiers (#2292) 2017-11-08 12:42:37 -05:00
file_provider_test.rb Support PAX-formatted tar files, standardize file lists (#2225) 2017-10-10 10:36:57 +01:00
runner_test.rb Add attributes file readability error handling (#2127) 2017-09-08 08:43:33 -04:00
shell_detector_test.rb Corrected some unit test warnings (#2242) 2017-10-17 14:49:26 +02:00