 
     query = """
     query {
-      contests { id name countryCode startDate endDate dates }
+      contests { id name countryCode startDate endDate dates stages { id name } }
     }
     """
 


  test "returns all contest fields", %{conn: conn} do
    %{stages: [s]} =
      h = insert(:host, name: "DS Helsinki", country_code: "FI", stages: build_list(1, :stage))

    c =
      insert(:contest,

                   "startDate" => "2019-01-01",
                   "endDate" => "2019-01-03",
                   "dates" => ["2019-01-01", "2019-01-02", "2019-01-03"],
                   "stages" => [
                     %{"id" => "#{s.id}", "name" => "Aula"}
                   ]
                 }
               ]
             }
