Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
354 B · 12 lines
Elixir
at main
12345678910111213defmodule GitSyncWeb.ErrorJSONTest do use GitSyncWeb.ConnCase, async: true
test "renders 404" do assert GitSyncWeb.ErrorJSON.render("404.json", %{}) == %{errors: %{detail: "Not Found"}} end
test "renders 500" do assert GitSyncWeb.ErrorJSON.render("500.json", %{}) == %{errors: %{detail: "Internal Server Error"}} endend