diff options
Diffstat (limited to 'test/nulla_web/controllers/page_controller_test.exs')
-rw-r--r-- | test/nulla_web/controllers/page_controller_test.exs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/nulla_web/controllers/page_controller_test.exs b/test/nulla_web/controllers/page_controller_test.exs new file mode 100644 index 0000000..5e8da73 --- /dev/null +++ b/test/nulla_web/controllers/page_controller_test.exs @@ -0,0 +1,8 @@ +defmodule NullaWeb.PageControllerTest do + use NullaWeb.ConnCase + + test "GET /", %{conn: conn} do + conn = get(conn, ~p"/") + assert html_response(conn, 200) =~ "Peace of mind from prototype to production" + end +end |