From 81b5a844a2a155e28c497a8ce671eb5f02803e5d Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 1 Sep 2018 16:07:22 +0200 Subject: Import shardweb --- shardweb/test/shard_web/controllers/page_controller_test.exs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 shardweb/test/shard_web/controllers/page_controller_test.exs (limited to 'shardweb/test/shard_web/controllers') 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 -- cgit v1.2.3