inspec/test/unit
Adam Leff 6668bf15ea Fix detection of Automate pre-0.8.x in Compliance::API (#1922)
The is_automate_server_pre_080? and is_automate_server_080_and_later?
methods needed some fixing. The Compliance configuration could have
a "version" key that was not nil but was an empty hash, indicating
that it came from a pre-0.8.x Automate server. What we really need
to look for is config['version']['version'] being nil?.

Signed-off-by: Adam Leff <adam@leff.co>
2017-06-13 10:05:09 +02:00
..
bundles Fix detection of Automate pre-0.8.x in Compliance::API (#1922) 2017-06-13 10:05:09 +02:00
dependencies Bump lockfile version to 1.0 2016-09-26 09:51:04 +01:00
dsl add inspec.profile.file(...) for profile files 2017-05-03 20:39:27 +02:00
fetchers add bitbucket repo url handling (#1866) 2017-06-05 16:02:56 +02:00
mock Add TCP reachability support on Linux for host resource (#1915) 2017-06-09 18:18:51 +02:00
plugins Remove some warnings during the test run 2016-09-09 14:14:36 +01:00
profiles update unit tests 2017-05-31 00:21:05 -05:00
resources Updated unit tests for minitest6 and improved coverage (#1910) 2017-06-11 12:22:28 +02:00
source_readers add inspec.profile.file(...) for profile files 2017-05-03 20:39:27 +02:00
utils add the Nginx parser 2017-06-03 17:25:00 +02:00
file_provider_test.rb add inspec.profile.file(...) for profile files 2017-05-03 20:39:27 +02:00
runner_test.rb Handle parse errors for attrs/secrets 2017-05-09 13:44:33 +02:00
shell_detector_test.rb Add inspec env command to configure shell tab-completion 2016-08-10 02:07:53 +01:00