diff options
author | Alex Auvolat <alex@adnab.me> | 2018-09-01 16:07:22 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-09-01 16:07:22 +0200 |
commit | 81b5a844a2a155e28c497a8ce671eb5f02803e5d (patch) | |
tree | 15e878ebe47d5993e7af46a48a1ccdc1dd1e4b2f /shardweb/test/shard_web/controllers | |
parent | c6ec33d6e612168e14d77007915a4ea423c55a2e (diff) | |
download | shard-81b5a844a2a155e28c497a8ce671eb5f02803e5d.tar.gz shard-81b5a844a2a155e28c497a8ce671eb5f02803e5d.zip |
Import shardweb0.0.2
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 |