From 855ef60d2cf29966e392a869d441c8b363296117 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Thu, 20 Mar 2025 18:25:15 +0300 Subject: [PATCH] Update straight routing in tests to use named directions icons --- test/system/directions_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/system/directions_test.rb b/test/system/directions_test.rb index a0ca87ce7..1c4edb60c 100644 --- a/test/system/directions_test.rb +++ b/test/system/directions_test.rb @@ -38,8 +38,8 @@ class DirectionsSystemTest < ApplicationSystemTestCase return Promise.resolve({ line: points, steps: [ - [points[0], 8, "1. #{start_instruction}", distance, points], - [points[1], 14, "2. #{finish_instruction}", 0, [points[1]]] + [points[0], "start", "1. #{start_instruction}", distance, points], + [points[1], "destination", "2. #{finish_instruction}", 0, [points[1]]] ], distance, time -- 2.39.5