An example AT Protocol application, written in Elixir using atex and Drinkup.
1defmodule StatusphereWeb.PageControllerTest do
2 use StatusphereWeb.ConnCase
3
4 test "GET /", %{conn: conn} do
5 conn = get(conn, ~p"/")
6 response = html_response(conn, 200)
7 assert response =~ "Statusphere"
8 assert response =~ "Set your status on the Atmosphere"
9 assert response =~ "Log in"
10 assert response =~ "to set your status!"
11 end
12end