spec/support/transition_support.rb
# excludes :order which happens automatically when order is confirmed
excludes :order which happens automatically when order is confirmed
excludes : order which happens automatically when order is confirmed
def move_item_to_ready(item, order, user)
    item_events_to_ready.each do |event|
      item.trigger!(event, transition_metadata(user, order))
    end
  end
def move_item_to_ready ( item , order , user ) item_events_to_ready . each do | event | item . trigger! ( event , transition_metadata ( user , order ) ) end end
excludes :order which happens automatically when order is confirmed
excludes : order which happens automatically when order is confirmed
item
<not_specific>
order
<not_specific>
user
<not_specific>