summaryrefslogtreecommitdiff
path: root/lib/chef/audit/runner.rb
diff options
context:
space:
mode:
authortyler-ball <tyleraball@gmail.com>2014-12-02 16:09:35 -0800
committertyler-ball <tyleraball@gmail.com>2014-12-17 18:52:21 -0800
commitb079e015f4ebb8c5db600bd49641699cbbacdb10 (patch)
treefd7d81f983998b228aa8e63875f03c895716fa7a /lib/chef/audit/runner.rb
parent19f2c6e437642db0c03b193349b13d04636cb8ee (diff)
downloadchef-b079e015f4ebb8c5db600bd49641699cbbacdb10.tar.gz
Adding cookbook and recipe information per analytics request
Diffstat (limited to 'lib/chef/audit/runner.rb')
-rw-r--r--lib/chef/audit/runner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/audit/runner.rb b/lib/chef/audit/runner.rb
index df6b6d682f..2fd33ac0de 100644
--- a/lib/chef/audit/runner.rb
+++ b/lib/chef/audit/runner.rb
@@ -144,7 +144,7 @@ class Chef
def register_controls
add_example_group_methods
run_context.audits.each do |name, group|
- ctl_grp = RSpec::Core::ExampleGroup.__controls__(*group[:args], &group[:block])
+ ctl_grp = RSpec::Core::ExampleGroup.__controls__(*group.args, &group.block)
RSpec.world.register(ctl_grp)
end
end