1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00

Renamed the app

This commit is contained in:
Daniel Barber 2018-08-11 13:22:04 -04:00
parent 14ff02edd6
commit 725a96c2aa
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -2,7 +2,6 @@ defmodule Chess.Features.GamesTest do
use ChessWeb.FeatureCase
import Wallaby.Query
import Chess.Factory
import Chess.AuthenticationHelpers
@ -11,7 +10,7 @@ defmodule Chess.Features.GamesTest do
test "visit homepage", %{session: session} do
session
|> visit("/")
|> assert_has(css("header h1", text: "Chess"))
|> assert_has(css("header h1", text: "64squares"))
end
test "can create a new game", %{session: session} do
@ -65,7 +64,7 @@ defmodule Chess.Features.GamesTest do
|> click(link("New game"))
|> select("game[opponent_id]", option: "Urbosa")
|> click(button("Create game"))
|> click(link("Chess"))
|> click(link("64squares"))
session
|> assert_has(css(".table tr", count: 1))