inspec/test/unit
Matt Kulka c067798fc5 Docker Swarm service resource (#2456)
This change adds the `docker_service` resource for Docker swarm mode services. This
branches off some of the common elements (id, exists) into a `DockerObject` module along
with a utility function for parsing the image/repo string. That function was implemented
separately by `docker_image` and `docker_container`, now with a third resource, it made
sense to consolidate that into an included module. I used the most comprehensive
implementation. Existing classes had to be slightly modified for the genericization.

Signed-off-by: Matt Kulka <mkulka@parchment.com>
2018-01-23 12:30:14 -08:00
..
bundles Fix OWCA detection for compliance login (#2401) 2017-12-22 15:01:18 +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 Docker Swarm service resource (#2456) 2018-01-23 12:30:14 -08:00
objects bugfix: default attributes for nil and false (#2410) 2017-12-21 14:20:59 +01:00
plugins Add platform resource and platform supports (#2393) 2018-01-02 11:04:13 -08:00
profiles bugfix: dependency chaining in libraries (#2428) 2018-01-02 12:41:01 -08:00
resources Docker Swarm service resource (#2456) 2018-01-23 12:30:14 -08: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
base_cli_test.rb Update default cli options to be per command. (#2378) 2017-12-07 13:19:36 +01:00
file_provider_test.rb Remove meaningless stdout message (#2313) 2017-11-17 15:56:36 -05:00
rspec_json_formatter_test.rb Update rspec cli control summary to not uniq fails. (#2362) 2017-12-05 13:07:31 +01:00
runner_test.rb Fix inspec appveyor test with the new local train transport (#2376) 2017-12-06 15:18:38 -05:00
shell_detector_test.rb Corrected some unit test warnings (#2242) 2017-10-17 14:49:26 +02:00