diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-18 21:32:28 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-18 21:32:28 +0200 |
| commit | 992c36c6c7ce7e1e732866b3cd4fb8269a905875 (patch) | |
| tree | 15b7ae06b14341929e555ebc126f07d963213104 /web/server_test.go | |
| parent | 51613971c1e25dedbc808c66b79d15111d250160 (diff) | |
Diffstat (limited to 'web/server_test.go')
| -rw-r--r-- | web/server_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/server_test.go b/web/server_test.go index 57f0d4a..823e4a8 100644 --- a/web/server_test.go +++ b/web/server_test.go @@ -95,7 +95,8 @@ func TestHandlerRendersRidesPage(t *testing.T) { server.Handler().ServeHTTP(response, req) assert.Equal(t, http.StatusOK, response.Code) - assert.Contains(t, response.Body.String(), "All rides") + assert.NotContains(t, response.Body.String(), "All rides") + assert.NotContains(t, response.Body.String(), "Your imported rides, ready for climb analysis.") assert.Contains(t, response.Body.String(), "Long Ride") assert.NotContains(t, response.Body.String(), "Short Ride") assert.Contains(t, response.Body.String(), "Cotacol") |