- Escape HEEx template braces in GraphQL/API docs with raw(~S[...]) - Fix test assertions for updated marketing copy and UI text - Extract helper functions in GraphQL resolvers to reduce nesting depth - Create shared ErrorHelpers module for API controllers - Fix ETS race condition in brute force whitelist cache for async tests - Fix property test generators to use ASCII instead of printable unicode - Add alert_severity helper to site_live/show - Update accounts fixtures for explicit user confirmation
11 lines
325 B
Elixir
11 lines
325 B
Elixir
defmodule ToweropsWeb.PageHTMLTest do
|
|
use ToweropsWeb.ConnCase, async: true
|
|
|
|
import Phoenix.Template, only: [render_to_string: 4]
|
|
|
|
test "renders home.html" do
|
|
html = render_to_string(ToweropsWeb.PageHTML, "home", "html", flash: %{})
|
|
assert html =~ "business impact"
|
|
assert html =~ "network event"
|
|
end
|
|
end
|