diff options
author | tyler-ball <tyleraball@gmail.com> | 2014-12-02 09:30:45 -0800 |
---|---|---|
committer | tyler-ball <tyleraball@gmail.com> | 2014-12-17 18:52:20 -0800 |
commit | 19f2c6e437642db0c03b193349b13d04636cb8ee (patch) | |
tree | 480eb5a24f477881621975d49869b6e78263adea /lib/chef/audit/runner.rb | |
parent | 2b3c252f5cad689debce640f01db9705f3c57d22 (diff) | |
download | chef-19f2c6e437642db0c03b193349b13d04636cb8ee.tar.gz |
Updating to use audit syntax rather than control
Diffstat (limited to 'lib/chef/audit/runner.rb')
-rw-r--r-- | lib/chef/audit/runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/audit/runner.rb b/lib/chef/audit/runner.rb index a290dd6607..df6b6d682f 100644 --- a/lib/chef/audit/runner.rb +++ b/lib/chef/audit/runner.rb @@ -143,7 +143,7 @@ class Chef # or use example group filters. def register_controls add_example_group_methods - run_context.controls.each do |name, group| + run_context.audits.each do |name, group| ctl_grp = RSpec::Core::ExampleGroup.__controls__(*group[:args], &group[:block]) RSpec.world.register(ctl_grp) end |