inspec/test/unit
Jared Quick f9e0aaadba ssl resource: properly raise error when unable to determine if port is enabled (#2205)
* Move raise condition for host into enabled method

This is related to #1205. This will fix the ssl resource for now until
we redo the exceptions. Still looking around the code and need to build
some unit tests for the ssl resource.

My fix here is to move the raise condition till later in the flow,
specifically the enabled? method. This lets the raise get caught
accordingly without killing the other tests.

Signed-off-by: Jared Quick <jquick@chef.io>

* Remove authors from ssl resource test

Signed-off-by: Jared Quick <jquick@chef.io>
2017-10-06 19:38:22 +02:00
..
bundles Support profile versions for automate profiles storage (#2128) 2017-09-13 16:53:36 -04:00
dependencies Bump lockfile version to 1.0 2016-09-26 09:51:04 +01:00
dsl New 'be_in' matcher for matching against values in a list (#2022) 2017-08-07 16:05:22 +02:00
fetchers Don't send HTTP headers that have nil values (#1948) 2017-06-21 19:09:13 -05:00
mock processes resource: support busybox ps (#2222) 2017-10-06 19:32:39 +02: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 Source reader should not hand back files with nil contents (#2003) 2017-07-11 21:33:55 +02:00
resources ssl resource: properly raise error when unable to determine if port is enabled (#2205) 2017-10-06 19:38:22 +02:00
source_readers Source reader should not hand back files with nil contents (#2003) 2017-07-11 21:33:55 +02:00
utils Support symbol keys in ObjectTraverser (#2221) 2017-10-06 19:24:31 +02:00
file_provider_test.rb bugfix: empty file strings from archive readers (#2027) 2017-07-24 09:37:13 -07:00
runner_test.rb Add attributes file readability error handling (#2127) 2017-09-08 08:43:33 -04:00
shell_detector_test.rb Add inspec env command to configure shell tab-completion 2016-08-10 02:07:53 +01:00