class Object

Public Instance Methods

check_predestined!() click to toggle source
# File lib/zeebe_bpmn_rspec/matchers/have_activated.rb, line 64
def check_predestined!
  raise ZeebeBpmnRspec::HaveActivatedMatcherError.new if predestined?
end
of_type(job) click to toggle source
# File lib/zeebe_bpmn_rspec/matchers/have_activated.rb, line 50
def of_type(job)
  job.respond_to?(:type) ? " of type #{job.type}" : nil
end
predestined?() click to toggle source
# File lib/zeebe_bpmn_rspec/matchers/have_activated.rb, line 60
def predestined?
  @complete || @fail || @throw
end