use credo style

This commit is contained in:
2023-02-04 17:36:27 -05:00
parent cd7220cea3
commit ad7810a8ea
19 changed files with 46 additions and 45 deletions

View File

@ -5,12 +5,11 @@ defmodule MemexWeb.ErrorViewTest do
use MemexWeb.ConnCase, async: true
import MemexWeb.Gettext
@moduletag :error_view_test
# Bring render/3 and render_to_string/3 for testing custom views
import Phoenix.View
@moduletag :error_view_test
test "renders 404.html" do
assert render_to_string(MemexWeb.ErrorView, "404.html", []) =~
dgettext("errors", "not found")