From 033d07a519bac03fdfd28ca15e09cc287e80fd14 Mon Sep 17 00:00:00 2001 From: neodarz Date: Tue, 24 Jan 2017 17:09:18 +0100 Subject: Initial commit with non-functional pieces of code about file upload --- test/controllers/page_controller_test.exs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/controllers/page_controller_test.exs (limited to 'test/controllers/page_controller_test.exs') 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 -- cgit v1.2.1