inspec/test/unit
Jerry Aldrich 7bbe99bbbd package resource: fix NilClass errors on arch linux (#2437)
* Fix `nil:NilClass` error for `package` resource

This modifies `.info` to return `{}` in cases where the package manager
cannot be determined. This matches the behavior of `@pkgman.info`.

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>

* Change `must_be_empty` to `must_equal({})`

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-01-16 14:27:31 -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 xml resource: support fetching attributes (#2423) 2018-01-16 14:26:39 -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 package resource: fix NilClass errors on arch linux (#2437) 2018-01-16 14:27:31 -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