Update iteration_1_spec.rb
Update iteration_1_spec.rb

def average_item_price_for_merchant(merchant_id)
    found_items = items.find_all_by_merchant_id(merchant_id)
    count = found_items.count
    (found_items.reduce(0) { |sum, item| item.unit_price + sum }/count).round(2)
  end
turingschool/black_thursday_spec_harness