towerops/test/towerops_web/controllers/api_docs_controller_test.exs
Graham McIntire 03ec909e3a test: add LiveView tests following testing-liveview patterns
Apply Testing LiveView course patterns (live/2, has_element?,
render_click, form/3). Add tests for MobileQRLive, WeathermapLive,
StatusPageLive, controllers, plugs, and pure function modules.
Expand proto decode coverage to 85.24%.
2026-05-07 12:55:39 -05:00

10 lines
276 B
Elixir

defmodule ToweropsWeb.ApiDocsControllerTest do
use ToweropsWeb.ConnCase, async: true
describe "GET /api/docs" do
test "renders index without login", %{conn: conn} do
conn = get(conn, "/docs/api")
assert html_response(conn, 200) =~ "API"
end
end
end