   end
 
   test "deletes chosen resource", %{conn: conn} do
-    Repo.insert! valid_badge
+    Repo.insert! valid_badge()
 
     conn =
       conn

  end

  test "shows chosen resource", %{conn: conn} do
    badge = Repo.insert! valid_badge

    conn = get(conn, "/badges/coverage", token: valid_token(:read))


  end

  test "renders 403 when not authed", %{conn: conn} do
    Repo.insert! valid_badge_with_svg()

    conn = get(conn, "/badges/coverage.svg")

