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