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 "/"
|
navigate_to "/"
|
||||||
find_element(:css, "body")
|
find_element(:css, "body")
|
||||||
|
|
||||||
assert title_text == "Chess"
|
assert title_text() == "Chess"
|
||||||
end
|
end
|
||||||
|
|
||||||
test "can create a new game" do
|
test "can create a new game" do
|
||||||
navigate_to "/"
|
navigate_to "/"
|
||||||
create_game
|
create_game()
|
||||||
|
|
||||||
assert page_has_chess_board
|
assert page_has_chess_board()
|
||||||
end
|
end
|
||||||
|
|
||||||
test "can move a piece" do
|
test "can move a piece" do
|
||||||
navigate_to "/"
|
navigate_to "/"
|
||||||
create_game
|
create_game()
|
||||||
|
|
||||||
click({:css, "#f4-r1"})
|
click({:css, "#f4-r1"})
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@ defmodule Chess.FeatureCase do
|
|||||||
use Chess.ConnCase
|
use Chess.ConnCase
|
||||||
|
|
||||||
use Hound.Helpers
|
use Hound.Helpers
|
||||||
hound_session
|
hound_session()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user