inspec/test/unit
Miah Johnson 7a6119e7a6 Add missing tests for groups resource, document members property, and assorted fixes. (#3467)
* Add missing tests for groups resource, document members propery, and assorted fixes.

Update existing documentation for group resource.
Add documentation for groups resource.
Update group resource tests to test members property.
Change groups resource members property to have simple style. (this
ensures members is a single array)
remove deprecated have_gid propery.
change `if !` to `unless`
Remove early return from members method. This prevented members from
working correctly on any OS other than Windows.
Add missing tests for the groups resource.
remove tests for has_gid

Signed-off-by: Miah Johnson <miah@chia-pet.org>

* Fix comments

Signed-off-by: Jared Quick <jquick@chef.io>
2018-10-18 16:48:30 -04:00
..
bundles/inspec-supermarket Move compliance to v2 plugin (#3423) 2018-10-04 14:31:39 -04:00
dependencies Add parent_profile field in json output (#3164) 2018-06-26 13:04:31 -04:00
dsl Add support for multiple descriptions for controls (#3424) 2018-09-26 13:28:57 -04:00
fetchers Add HTTP basic auth for URL based inspec deps (#3341) 2018-08-30 12:57:50 -04:00
mock FilterTable: allow Strings or Symbols as fields (#3481) 2018-10-17 09:29:58 -04:00
objects Update the text on the generic default attribute (#3508) 2018-10-15 12:15:17 -04:00
plugin Change Inspec to InSpec where appropriate (#3494) 2018-10-15 12:09:46 -04:00
profiles Inspec 3.0 (#3512) 2018-10-15 18:25:27 -04:00
reporters Add support for multiple descriptions for controls (#3424) 2018-09-26 13:28:57 -04:00
resource_supports/aws Capture ArgumentErrors from aws. (#2673) 2018-02-17 16:50:35 +01:00
resources Add missing tests for groups resource, document members property, and assorted fixes. (#3467) 2018-10-18 16:48:30 -04:00
source_readers Inspec 3.0 (#3512) 2018-10-15 18:25:27 -04:00
utils nginx_conf resource: Fix include paths with quotes (#2726) 2018-05-03 09:53:20 -04:00
attribute_registry_test.rb Grammar correction in error message: use "an" with attribute and unknown (#3439) 2018-09-25 11:13:56 -04:00
base_cli_test.rb Inspec 3.0 (#3512) 2018-10-15 18:25:27 -04:00
cached_fetcher.rb Cached profiles with Compliance Fetcher (#3221) 2018-08-28 09:11:38 -04:00
file_provider_test.rb Inspec 3.0 (#3512) 2018-10-15 18:25:27 -04:00
helper.rb Rely on unit test helper to load resources, not individual AWS tests 2018-02-07 12:09:08 -05:00
impact_test.rb Add string impact options for controls (#3359) 2018-09-13 14:14:05 -04:00
runner_test.rb Inspec 3.0 (#3512) 2018-10-15 18:25:27 -04:00
shell_detector_test.rb Corrected some unit test warnings (#2242) 2017-10-17 14:49:26 +02:00