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.
11 lines
268 B
Elixir
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
|