2
0
Fork 0
mirror of https://github.com/inspec/inspec synced 2024-12-21 02:23:13 +00:00
Commit graph

1 commit

Author SHA1 Message Date
Jared Quick
f9e0aaadba ssl resource: properly raise error when unable to determine if port is enabled ()
* Move raise condition for host into enabled method

This is related to . 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