defmodule Appsignal.Phoenix.TemplateEngineTest do
  use ExUnit.Case, async: true

  test "Whether the template instrumenter compiles files" do
    file = "test/fixtures/test.txt.eex"
    assert {_, _, _} = Appsignal.Phoenix.Template.EExEngine.compile(file, "test.txt")
  end

end

defmodule Appsignal.Phoenix.TemplateEngineTest do
  use ExUnit.Case, async: true

  test "Whether the template instrumenter compiles files" do
    path = "test/fixtures/test.txt.eex"
    assert {_, _, [_, "render.phoenix_template", ^path, _]} =
      Appsignal.Phoenix.Template.EExEngine.compile(path, "test.txt")
  end
end

Add regression test for using paths in TemplateInstrumenter
Add regression test for using paths in TemplateInstrumenter

appsignal/appsignal-elixir,appsignal/appsignal-elixir,appsignal/appsignal-elixir,appsignal/appsignal-elixir