forked from shibao/cannery
pass home controller test
This commit is contained in:
parent
b319f5640a
commit
a720e7da3f
@ -4,7 +4,6 @@ defmodule Cannery.ContainersTest do
|
||||
"""
|
||||
|
||||
use Cannery.DataCase
|
||||
|
||||
alias Cannery.Containers
|
||||
alias Cannery.{Accounts.User, Containers.Container}
|
||||
alias Ecto.Changeset
|
||||
|
@ -4,7 +4,6 @@ defmodule Cannery.InvitesTest do
|
||||
"""
|
||||
|
||||
use Cannery.DataCase
|
||||
|
||||
alias Cannery.{Invites, Invites.Invite}
|
||||
alias Ecto.Changeset
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user