     end
   end
 
-  defp join_the_retro_channel(context) do
-    retro = context[:retro]
-    { :ok, _, socket } =
-      socket("", %{ user: "wyatt derp" })
-      |> subscribe_and_join(RetroChannel, "retro:" <> retro.id)
-
-    Map.put(context, :socket, socket)
-  end
-
-  defp persist_idea_for_retro(context) do
-    %{idea_category: category, idea_body: body, retro: retro} = context
-
-    changesest = %Idea{ category: category, body: body, retro_id: retro.id }
-    Repo.insert!(changesest)
-    context
-  end
 end


    test "results in the broadcast of a new presence diff to all connected clients" do
      assert_broadcast "presence_diff", %{ joins: %{ "wyatt derp" => %{} } }
    end

    test "results in a push of existing ideas to the new user" do

    end
  end

  describe "pushing a new idea to the socket" do
    setup [:join_the_retro_channel]
    test "results in the broadcast of the new idea to all connected clients", %{ socket: socket } do
      push(socket, "new_idea", %{ category: "happy", body: "we're pacing well" })

