refactored for new project name

This commit is contained in:
Adam Piontek 2021-03-05 19:23:32 -05:00
parent 0039146cd4
commit 82ab1d1ea5
113 changed files with 417 additions and 412 deletions

View file

@ -0,0 +1,14 @@
defmodule Shift73kWeb.ErrorViewTest do
use Shift73kWeb.ConnCase, async: true
# Bring render/3 and render_to_string/3 for testing custom views
import Phoenix.View
test "renders 404.html" do
assert render_to_string(Shift73kWeb.ErrorView, "404.html", []) == "Not Found"
end
test "renders 500.html" do
assert render_to_string(Shift73kWeb.ErrorView, "500.html", []) == "Internal Server Error"
end
end

View file

@ -0,0 +1,8 @@
defmodule Shift73kWeb.LayoutViewTest do
use Shift73kWeb.ConnCase, async: true
# When testing helpers, you may want to import Phoenix.HTML and
# use functions such as safe_to_string() to convert the helper
# result into an HTML string.
# import Phoenix.HTML
end