timgremore's picture
fix: Replace name with MediCode
4d87f7f
raw
history blame
382 Bytes
defmodule MedicodeWeb.PageControllerTest do
use MedicodeWeb.ConnCase
import Medicode.AccountsFixtures
setup %{conn: conn} do
password = valid_user_password()
user = user_fixture(%{password: password})
%{conn: log_in_user(conn, user)}
end
test "GET /", %{conn: conn} do
conn = get(conn, ~p"/")
assert html_response(conn, 200) =~ "MediCode"
end
end