From 28a7c9f281c16d1928b37dd1afdfe8399b7a03f8 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Tue, 1 Sep 2026 15:44:10 +0200 Subject: Display Cotacol in the ride detail summary --- web/server_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web/server_test.go') diff --git a/web/server_test.go b/web/server_test.go index 2e9a332..a07b7d9 100644 --- a/web/server_test.go +++ b/web/server_test.go @@ -161,6 +161,8 @@ func TestHandlerRendersRideDetailWithEmbeddedRoute(t *testing.T) { assert.Contains(t, body, `id="ride-passes"`) assert.Contains(t, body, `id="ride-profile-chart"`) assert.Contains(t, body, `id="ride-map"`) + assert.Contains(t, body, `
Cotacol
`) + assert.NotContains(t, body, `
Cotacol
-
`) assert.Contains(t, body, `class="ride-detail-grid"`) assert.Contains(t, body, `class="ride-detail-columns`) assert.NotContains(t, body, "Climbs to match") -- cgit v1.3