Unnamed imported tracks (FIT, ...) take the file's name, backfilled once for earlier imports; split and best-effort times with seconds
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 17s

This commit is contained in:
randy committed 2026-11-17 23:37:41 +01:00
1 parent 21c5c2f21b
commit d87b8b8f80
5 files changed
+30 -11

No files matched your search

+1
View File
@@ -167,6 +167,7 @@ class AppTest < Minitest::Test
properties = json_body(request.get(node_url(key)))["features"][0]["properties"]
assert_equal "cycling", properties["activity_type"]
assert_equal [0, 1], properties["laps"]
assert_equal "ride", properties["name"] # no name in the file: the file's
fit = request.get("#{node_url(key)}?download=fit&name=Ride", **logged_in_env)
assert_equal 200, fit.status