Skip to content

Commit

Permalink
wrong name in test
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshull committed Oct 4, 2024
1 parent 25d4e2c commit 5edeff1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/dotcom/trip_plan/itinerary_group_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ defmodule Dotcom.TripPlan.ItineraryTest do
test "groups itineraries with the same mode, from, and to", %{stops: [a, b, c]} do
# SETUP
bus_a_b_leg = TripPlanner.build(:bus_leg, from: a, to: b)
bus_b_c_leg = TripPlanner.build(:subway_leg, from: b, to: c)
subway_b_c_leg = TripPlanner.build(:subway_leg, from: b, to: c)

itineraries =
TripPlanner.build_list(:rand.uniform(5), :itinerary, legs: [bus_a_b_leg, bus_b_c_leg])
TripPlanner.build_list(:rand.uniform(5), :itinerary, legs: [bus_a_b_leg, subway_b_c_leg])

# EXERCISE
grouped_itineraries = ItineraryGroups.from_itineraries(itineraries)
Expand Down

0 comments on commit 5edeff1

Please sign in to comment.