module ChefSpec::Extensions::Chef::Resource

def performed_action?(action)

def performed_action?(action)
  if action == :nothing
    performed_actions.empty?
  else
    !!performed_action(action)
  end
end