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

Move these outside the describe

This commit is contained in:
Daniel Barber 2018-05-25 15:49:09 -04:00
parent 381ad98d2b
commit 193580d7b6
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -3,12 +3,13 @@ defmodule Chess.Store.MoveTest do
use Chess.DataCase use Chess.DataCase
describe "move" do import Chess.Factory
alias Chess.Repo
alias Chess.Board alias Chess.Board
alias Chess.Repo
alias Chess.Store.Move alias Chess.Store.Move
import Chess.Factory describe "move" do
test "move is valid with a game, a from, and a to" do test "move is valid with a game, a from, and a to" do
user = insert(:user, %{email: "link@hyrule.com"}) user = insert(:user, %{email: "link@hyrule.com"})