firehose/app/test/firehose_web/controllers/page_controller_test.exs
Your Name bc14696f57 Static blog with front page summary
Goal: have a personal blog, and try out another point in the 'modular
app design with elixir' space.

Designing OTP systems with elixir had some interesting ideas.
2026-03-17 11:17:21 +00:00

11 lines
268 B
Elixir

defmodule FirehoseWeb.PageControllerTest do
use FirehoseWeb.ConnCase
test "GET /", %{conn: conn} do
conn = get(conn, ~p"/")
body = html_response(conn, 200)
assert body =~ "Drinking from the firehose"
assert body =~ "Willem van den Ende"
end
end