2021-03-19 19:32:18 +00:00
|
|
|
defmodule Legendary.Content.SitemapControllerTest do
|
|
|
|
use Legendary.Content.ConnCase
|
2020-07-22 19:22:44 +00:00
|
|
|
|
|
|
|
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
|