diff options
author | Claire McQuin <claire@getchef.com> | 2014-11-19 16:40:17 -0800 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-11-19 16:40:17 -0800 |
commit | f3d19b686fdefb665098ed3f93ad91d95ec0e865 (patch) | |
tree | 7373614227591e1cdc8efb414b6c805158b71e75 | |
parent | 35ac5b24f7890aafcf7316a13e655013ccc02921 (diff) | |
download | chef-f3d19b686fdefb665098ed3f93ad91d95ec0e865.tar.gz |
Add recipe to test include_recipe with controls.mcquin/include-recipe-test
-rw-r--r-- | kitchen-tests/cookbooks/audit_test/recipes/include_recipe.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/kitchen-tests/cookbooks/audit_test/recipes/include_recipe.rb b/kitchen-tests/cookbooks/audit_test/recipes/include_recipe.rb new file mode 100644 index 0000000000..00bdd9c9e9 --- /dev/null +++ b/kitchen-tests/cookbooks/audit_test/recipes/include_recipe.rb @@ -0,0 +1,15 @@ +# +# Cookbook Name:: audit_test +# Recipe:: include_recipe +# +# Copyright (c) 2014 The Authors, All Rights Reserved. + +include_recipe "audit_test::default" + +controls "another basic control" do + it "should also pass" do + arr = [0, 0] + arr.delete(0) + expect( arr ).to be_empty + end +end |