module ChefSpec::API::StateAttrs
def have_state_attrs(*state_attrs)
-
(ChefSpec::Matchers::StateAttrsMatcher)
-
Parameters:
-
state_attrs
(Array
) --
Other tags:
- Example: Assert the +lwrp+ resource has two state attributes -
Other tags:
- See: https://github.com/opscode/chef/blob/e43d7ebda/lib/chef/resource/file.rb#L32-L37 -
def have_state_attrs(*state_attrs) ChefSpec::Matchers::StateAttrsMatcher.new(state_attrs) end