   end
 
   describe "add_page" do
-    test "add one page" do
+    test "add one page with template and fields" do
       report =
         Rapport.new
         |> Rapport.add_page(@hello_template, %{hello: "Hello world"})

      assert List.first(report.pages).fields.hello == "Hello world"
    end

    test "add two pages" do
      report =
        Rapport.new
        |> Rapport.add_page(@hello_template, %{hello: "One"})
        |> Rapport.add_page(@hello_template, %{hello: "Two"})

      assert length(report.pages) == 2
    end

defmodule RapportTest do
  use ExUnit.Case
  doctest Rapport

  alias Rapport.Page

  @hello_template Path.join(__DIR__, "templates/hello.html.eex")
  @two_fields_template Path.join(__DIR__, "templates/two_fields.html.eex")
