summaryrefslogtreecommitdiff
path: root/spec/unit/recipe_spec.rb
diff options
context:
space:
mode:
authorSerdar Sutay <serdar@opscode.com>2015-02-11 08:42:28 -0800
committerSerdar Sutay <serdar@opscode.com>2015-02-11 08:42:28 -0800
commit5a78c483d2a40b0de04609f7f6c829763fa9938b (patch)
treeecce6200d11e71c8680291821195a27d8e45e10a /spec/unit/recipe_spec.rb
parent68bab0b362c47e5a75492e57094f72ecee1171ae (diff)
parent4cbc6274889ddedf105ec99200f53b50439df273 (diff)
downloadchef-5a78c483d2a40b0de04609f7f6c829763fa9938b.tar.gz
Merge pull request #2758 from chef/mcquin/control_group
Change audit DSL method controls to control_group.
Diffstat (limited to 'spec/unit/recipe_spec.rb')
-rw-r--r--spec/unit/recipe_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/recipe_spec.rb b/spec/unit/recipe_spec.rb
index 5ade7c86e2..8d0b1bcfd2 100644
--- a/spec/unit/recipe_spec.rb
+++ b/spec/unit/recipe_spec.rb
@@ -591,7 +591,7 @@ describe Chef::Recipe do
describe "included DSL" do
it "should include features from Chef::DSL::Audit" do
expect(recipe.singleton_class.included_modules).to include(Chef::DSL::Audit)
- expect(recipe.respond_to?(:controls)).to be true
+ expect(recipe.respond_to?(:control_group)).to be true
end
end
end