mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
Remove unnecessary test
This commit is contained in:
parent
3989b97281
commit
b479f0eade
@ -10,11 +10,6 @@ defmodule Chess.GameControllerTest do
|
||||
assert html_response(conn, 200) =~ "Listing games"
|
||||
end
|
||||
|
||||
test "renders form for new resources", %{conn: conn} do
|
||||
conn = get conn, game_path(conn, :new)
|
||||
assert html_response(conn, 200) =~ "New game"
|
||||
end
|
||||
|
||||
test "creates resource and redirects when data is valid", %{conn: conn} do
|
||||
conn = post conn, game_path(conn, :create), game: @valid_attrs
|
||||
assert redirected_to(conn) == game_path(conn, :index)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user