Sample for phoenix(elixir)-postgres
Signed-off-by: Manolis Kousanakis <ekousanakis@gmail.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
defmodule AppWeb.PageControllerTest do
|
||||
use AppWeb.ConnCase
|
||||
|
||||
test "GET /", %{conn: conn} do
|
||||
conn = get(conn, "/")
|
||||
assert html_response(conn, 200) =~ "Welcome to Phoenix!"
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user