defmodule RemoteRetro.RetroTest do
  use RemoteRetro.ModelCase

  describe "JSON encoding of the model struct" do
    test "is enabled" do
      idea = %RemoteRetro.Retro{id: 5, stage: "idea-generation"}

      encoded = Poison.encode!(idea)

      assert encoded =~ ~r/"id":5/i
      assert encoded =~ ~r/"stage":"idea-generation"/i
    end
  end
end

defmodule RemoteRetro.RetroTest do
  use RemoteRetro.ModelCase

  alias RemoteRetro.Retro
  describe "JSON encoding of the model struct" do
    test "is enabled" do
      idea = %Retro{id: 5, stage: "idea-generation"}

      encoded = Poison.encode!(idea)

      assert encoded =~ ~r/"id":5/i
      assert encoded =~ ~r/"stage":"idea-generation"/i
    end
  end
end

Use alias in retro test
Use alias in retro test

tnewell5/remote_retro,stride-nyc/remote_retro,samdec11/remote_retro,stride-nyc/remote_retro,tnewell5/remote_retro,stride-nyc/remote_retro