inspec/test
Steven Danna 7aa4c6da8e Fix require_controls DSL method
Previous, require_controls was including all controls from the named
profile, despite the documented behavior being that it only includes
controls explicitly pulled in by the user.  The cause was two-fold:

1) A previous refactor meant that we weren't removing the rule from the
correct context, and

2) We weren't descending down the dependency tree when filtering rules.

This commit fixes the require_controls DSL method and adds a test to
help prevent future regressions.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-26 15:20:56 +02:00
..
cookbooks/os_prepare add iis_site tests and refactor post code review 2016-08-17 06:57:48 -04:00
functional Fix require_controls DSL method 2016-09-26 15:20:56 +02:00
integration/default improve windows implementation 2016-09-09 09:31:38 +02:00
resource promote cmp usage as it provides results with octal mode 2016-08-30 18:23:47 +01:00
unit Fix require_controls DSL method 2016-09-26 15:20:56 +02:00
docker_run.rb travis experiment: lower docker concurrency 2016-08-10 12:52:21 +01:00
docker_test.rb Load all dependent libraries, even if include_context isn't called 2016-09-04 20:55:20 +02:00
helper.rb replace wmi win32_useraccount with adsi users 2016-09-26 01:31:44 +02:00
test-extra.yaml split up tests for travis 2015-09-23 01:51:51 +02:00
test.yaml split up tests for travis 2015-09-23 01:51:51 +02:00