mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
Fix warnings
This commit is contained in:
parent
570f6cf8c6
commit
3397f2048a
@ -5,19 +5,19 @@ defmodule Chess.GamesTest do
|
||||
navigate_to "/"
|
||||
find_element(:css, "body")
|
||||
|
||||
assert title_text == "Chess"
|
||||
assert title_text() == "Chess"
|
||||
end
|
||||
|
||||
test "can create a new game" do
|
||||
navigate_to "/"
|
||||
create_game
|
||||
create_game()
|
||||
|
||||
assert page_has_chess_board
|
||||
assert page_has_chess_board()
|
||||
end
|
||||
|
||||
test "can move a piece" do
|
||||
navigate_to "/"
|
||||
create_game
|
||||
create_game()
|
||||
|
||||
click({:css, "#f4-r1"})
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@ defmodule Chess.FeatureCase do
|
||||
use Chess.ConnCase
|
||||
|
||||
use Hound.Helpers
|
||||
hound_session
|
||||
hound_session()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user