inspec/test/unit/bundles/inspec-compliance
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
..
api_test.rb Fix detection of Automate pre-0.8.x in Compliance::API (#1922) 2017-06-13 10:05:09 +02:00
target_test.rb Raise exception if profile target URL cannot be parsed 2017-05-26 14:30:37 -05:00