     (get-in game [(keyword other-code) :name])))
 
 (deftest error-if-not-player-turn-test
-  (let [[game _] (create-game)
+  (let [game (create-game)
         other-player (get-waiting-player game)
         [response status] (make-move game {} other-player)]
     (is (= "InvalidPlayer" (response :error)))

            [obb-api.service-test :as service]
            [obb-rules.stash :as stash]
            [obb-api.handlers.deploy-game-test :as deploy-game-test]
            [io.pedestal.test :refer :all]
            [io.pedestal.http :as bootstrap]))

(defn- create-game
  "Creates a game where p1 is the first to play"
  []
  (-> (deploy-game-test/create-deployed-game)))

(defn- make-move
  "Makes a move on a game"

                     data)))

(deftest play-game-smoke
  (let [game (create-game)
        [response status] (make-move game nil)]
    (is (not= 404 status))))

(deftest error-if-no-actions-test
  (let [game (create-game)
        [response status] (make-move game nil)]
    (is (= "EmptyJSON" (response :error)))
    (is (= 412 status))))
