diff options
Diffstat (limited to 'test/controllers/page_controller_test.exs')
-rw-r--r-- | test/controllers/page_controller_test.exs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/controllers/page_controller_test.exs b/test/controllers/page_controller_test.exs new file mode 100644 index 0000000..22c052d --- /dev/null +++ b/test/controllers/page_controller_test.exs @@ -0,0 +1,8 @@ +defmodule TheTranscriberBackend.PageControllerTest do + use TheTranscriberBackend.ConnCase + + test "GET /", %{conn: conn} do + conn = get conn, "/" + assert html_response(conn, 200) =~ "Welcome to Phoenix!" + end +end |