summaryrefslogtreecommitdiff
path: root/lib/chef/audit
diff options
context:
space:
mode:
authorTyler Ball <tyleraball@gmail.com>2014-10-31 16:45:28 -0700
committerTyler Ball <tyleraball@gmail.com>2014-10-31 16:45:28 -0700
commite5c35f74b8451139605fc5c986eb51405d53d4c2 (patch)
treede3eeb0429be185d4b031ff45352dd326dad4ba5 /lib/chef/audit
parent48c62d5a7c0348f2db607d80cb1b56e9fe62d693 (diff)
parent0ff3d5010df97af2c8c02a30fe300830be593c39 (diff)
downloadchef-e5c35f74b8451139605fc5c986eb51405d53d4c2.tar.gz
Merge pull request #2321 from opscode/tball/audit-mode
First pass at DSL additions for chef-client audit mode
Diffstat (limited to 'lib/chef/audit')
-rw-r--r--lib/chef/audit/chef_example_group.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/chef/audit/chef_example_group.rb b/lib/chef/audit/chef_example_group.rb
new file mode 100644
index 0000000000..cd874d57b7
--- /dev/null
+++ b/lib/chef/audit/chef_example_group.rb
@@ -0,0 +1,10 @@
+require 'rspec/core'
+
+class Chef
+ class Audit
+ class ChefExampleGroup < ::RSpec::Core::ExampleGroup
+ # Can encompass tests in a `control` block or `describe` block
+ define_example_group_method :control
+ end
+ end
+end