legendary-doc-site/apps/content/test/content_web/controllers/sitemap_controller_test.exs
2020-07-22 19:22:44 +00:00

10 lines
265 B
Elixir

defmodule Content.SitemapControllerTest do
use Content.ConnCase
describe "index" do
test "is the site index", %{conn: conn} do
conn = get conn, Routes.sitemap_path(conn, :index)
assert html_response(conn, 200) =~ "Site Index"
end
end
end