From a720e7da3fc58b462560a15798fb213cffa549c8 Mon Sep 17 00:00:00 2001 From: shibao Date: Wed, 16 Feb 2022 20:59:27 -0500 Subject: [PATCH] pass home controller test --- test/cannery/containers_test.exs | 1 - test/cannery/invites_test.exs | 1 - test/cannery_web/controllers/home_controller_test.exs | 6 ++++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/test/cannery/containers_test.exs b/test/cannery/containers_test.exs index fc64081e..5e3f309c 100644 --- a/test/cannery/containers_test.exs +++ b/test/cannery/containers_test.exs @@ -4,7 +4,6 @@ defmodule Cannery.ContainersTest do """ use Cannery.DataCase - alias Cannery.Containers alias Cannery.{Accounts.User, Containers.Container} alias Ecto.Changeset diff --git a/test/cannery/invites_test.exs b/test/cannery/invites_test.exs index dfba41fa..4084dfd5 100644 --- a/test/cannery/invites_test.exs +++ b/test/cannery/invites_test.exs @@ -4,7 +4,6 @@ defmodule Cannery.InvitesTest do """ use Cannery.DataCase - alias Cannery.{Invites, Invites.Invite} alias Ecto.Changeset diff --git a/test/cannery_web/controllers/home_controller_test.exs b/test/cannery_web/controllers/home_controller_test.exs index a0deb2bd..0e1004df 100644 --- a/test/cannery_web/controllers/home_controller_test.exs +++ b/test/cannery_web/controllers/home_controller_test.exs @@ -1,6 +1,12 @@ defmodule CanneryWeb.HomeControllerTest do + @moduledoc """ + Tests the home page + """ + use CanneryWeb.ConnCase + @moduletag :home_controller_test + test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Cannery"