summaryrefslogtreecommitdiff
path: root/spec/integration
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-05-27 16:06:53 -0700
committerJohn Keiser <john@johnkeiser.com>2015-06-23 14:42:27 -0700
commitb927d174e192fb67264f432be2220fc67a50aacf (patch)
tree7b0a72dd5f99910ecc69cba440f3d9d8c366d308 /spec/integration
parent82ecae4cbf8bb7924da972576f23cfd267282018 (diff)
downloadchef-b927d174e192fb67264f432be2220fc67a50aacf.tar.gz
Add default_action and allowed_actions to Resource class, remove from LWRP
Diffstat (limited to 'spec/integration')
-rw-r--r--spec/integration/recipes/recipe_dsl_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/integration/recipes/recipe_dsl_spec.rb b/spec/integration/recipes/recipe_dsl_spec.rb
index 6bbb9a5c4c..486b24986f 100644
--- a/spec/integration/recipes/recipe_dsl_spec.rb
+++ b/spec/integration/recipes/recipe_dsl_spec.rb
@@ -56,6 +56,7 @@ describe "Recipe DSL methods" do
before(:context) {
class Chef::Resource::BackcompatThingy < Chef::Resource
+ resource_name 'backcompat_thingy'
default_action :create
end
class Chef::Provider::BackcompatThingy < Chef::Provider