package view import ( "strings" "testing" "time" ) // ---- The log // The log is the whole of what the journal holds about the viewer's inbound mail: // the filters offer what the viewer reaches, the head says how long rows live and // where to change it, and the global role is given the way to correct a decision. func TestInLogShowsTheRowsAndTheirFilters(t *testing.T) { out := renderSignedIn(t, "in-log", inLogFixture()) pageHas(t, "Inbound log", out, `
mail.log; the filter's verdict appears when the spam filter is on. Rows older than 90 days are deleted — change that in Settings.`,
`