diff options
Diffstat (limited to 'spec/data/cookbooks/audit/recipes/defined_outside_block.rb')
-rw-r--r-- | spec/data/cookbooks/audit/recipes/defined_outside_block.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/data/cookbooks/audit/recipes/defined_outside_block.rb b/spec/data/cookbooks/audit/recipes/defined_outside_block.rb new file mode 100644 index 0000000000..2f4245c8ee --- /dev/null +++ b/spec/data/cookbooks/audit/recipes/defined_outside_block.rb @@ -0,0 +1,6 @@ +controls "some more controls" do + control "foo5" +end + +# Even after seeing a `controls` block `control` should not work outside the block - even when running in rspec +control("foo4") |