diff options
author | Claire McQuin <claire@getchef.com> | 2015-01-14 11:40:48 -0800 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2015-01-15 15:34:33 -0800 |
commit | 4cbc6274889ddedf105ec99200f53b50439df273 (patch) | |
tree | e42d111f7f20f45377f0dbbdeb4e5ef377c9c9f0 /lib/chef/dsl | |
parent | d1a70027b68b1ba6d36eea3bc38d5441a61f22f8 (diff) | |
download | chef-4cbc6274889ddedf105ec99200f53b50439df273.tar.gz |
Update DSL method name to controls_group.mcquin/control_group
Update to use control_group.
Unify wording along control_group.
Unify wording along control_group.
Fix typo.
Enable audit mode.
Update to use control_group syntax.
Update for audit DSL changes.
Update for audit DSL change.
Diffstat (limited to 'lib/chef/dsl')
-rw-r--r-- | lib/chef/dsl/audit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/dsl/audit.rb b/lib/chef/dsl/audit.rb index 022bbcce01..d1bf09b313 100644 --- a/lib/chef/dsl/audit.rb +++ b/lib/chef/dsl/audit.rb @@ -24,7 +24,7 @@ class Chef # Can encompass tests in a `control` block or `describe` block # Adds the controls group and block (containing controls to execute) to the runner's list of pending examples - def controls(*args, &block) + def control_group(*args, &block) raise Chef::Exceptions::NoAuditsProvided unless block name = args[0] |