mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-23 08:22:50 +00:00
da378633ac
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
15 lines
369 B
Elixir
15 lines
369 B
Elixir
defmodule MobilizonWeb.PageControllerTest do
|
|
use MobilizonWeb.ConnCase
|
|
import Mobilizon.Factory
|
|
|
|
test "GET /", %{conn: conn} do
|
|
conn = get(conn, "/")
|
|
assert html_response(conn, 200)
|
|
end
|
|
|
|
test "GET /@actor", %{conn: conn} do
|
|
actor = insert(:actor)
|
|
conn = get(conn, "/@#{actor.preferred_username}")
|
|
assert html_response(conn, 200)
|
|
end
|
|
end
|