]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/directions_test.rb
Derive popup location from lineseg
[rails.git] / test / system / directions_test.rb
index 1c4edb60c023875ed1e3495fb16a860730a8c2c6..8ff78736b731b3a1e137a1215ec1046bf479b683 100644 (file)
@@ -38,8 +38,8 @@ class DirectionsSystemTest < ApplicationSystemTestCase
       return Promise.resolve({
         line: points,
         steps: [
-          [points[0], "start", "<b>1.</b> #{start_instruction}", distance, points],
-          [points[1], "destination", "<b>2.</b> #{finish_instruction}", 0, [points[1]]]
+          ["start", "<b>1.</b> #{start_instruction}", distance, points],
+          ["destination", "<b>2.</b> #{finish_instruction}", 0, [points[1]]]
         ],
         distance,
         time