summaryrefslogtreecommitdiff
path: root/spec/support/lib/chef/resource/with_state.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/lib/chef/resource/with_state.rb')
-rw-r--r--spec/support/lib/chef/resource/with_state.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/lib/chef/resource/with_state.rb b/spec/support/lib/chef/resource/with_state.rb
index 91051cca58..efff2e7c12 100644
--- a/spec/support/lib/chef/resource/with_state.rb
+++ b/spec/support/lib/chef/resource/with_state.rb
@@ -22,7 +22,7 @@ require 'chef/json_compat'
class Chef
class Resource
class WithState < Chef::Resource
- resource_name :with_state
+ use_automatic_resource_name
attr_accessor :state
end