From 3397f2048a6dfb56e99affb0ef281d094be24915 Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Thu, 19 Jan 2017 12:14:56 +0000 Subject: [PATCH] Fix warnings --- test/features/games_test.exs | 8 ++++---- test/support/feature_case.ex | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/features/games_test.exs b/test/features/games_test.exs index 3c61d47..7b864f7 100644 --- a/test/features/games_test.exs +++ b/test/features/games_test.exs @@ -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"}) diff --git a/test/support/feature_case.ex b/test/support/feature_case.ex index 1147a4b..d985063 100644 --- a/test/support/feature_case.ex +++ b/test/support/feature_case.ex @@ -6,7 +6,7 @@ defmodule Chess.FeatureCase do use Chess.ConnCase use Hound.Helpers - hound_session + hound_session() end end end