defmodule Poxa.SocketIdTest do
  use ExUnit.Case
  alias Poxa.SocketId

  setup_all do
    :random.seed
    :ok
  end

  test "generate! returns a string of 2 integers" do
    socket_id = SocketId.generate!
    [part1, part2] = String.split(socket_id, ".")

    assert {_, ""} = Integer.parse(part1)
    assert {_, ""} = Integer.parse(part2)
  end
end

defmodule Poxa.SocketIdTest do
  use ExUnit.Case
  alias Poxa.SocketId

  test "generate! returns a string of 2 integers" do
    socket_id = SocketId.generate!
    [part1, part2] = String.split(socket_id, ".")

    assert {_, ""} = Integer.parse(part1)
    assert {_, ""} = Integer.parse(part2)
  end
end

Remove unnecessary setup on SocketIdTest
Remove unnecessary setup on SocketIdTest

edgurgel/poxa,edgurgel/poxa,RobertoSchneiders/poxa,joshk/poxa,waffleio/poxa,RobertoSchneiders/poxa,edgurgel/poxa,joshk/poxa,waffleio/poxa