mirror of
https://github.com/inspec/inspec
synced 2024-12-19 17:43:44 +00:00
6668bf15ea
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> |
||
---|---|---|
.. | ||
api_test.rb | ||
target_test.rb |