spec/integration/helpers/wait_event_done.rb
# Returns true if the event we were interested in has been processed.
Returns true if the event we were interested in has been processed.
Returns true if the event we were interested in has been processed .
def done?
  re = pick_first? ? RegistryEvent.first : first_matching_tag
  return false unless re
  re.status.to_i == RegistryEvent.statuses[:done].to_i
end
def done? re = pick_first? ? RegistryEvent . first : first_matching_tag return false unless re re . status . to_i == RegistryEvent . statuses [ :done ] . to_i end
Returns true if the event we were interested in has been processed.
Returns true if the event we were interested in has been processed .