site_encrypt v0.2.0 Release Notes

  • 💥 Breaking changes

    • ✅ The interface for writing tests has been changed. A certification test should now be written as

      defmodule MyEndpoint.CertificationTest do
        use ExUnit.Case, async: false
        import SiteEncrypt.Phoenix.Test
      
        test "certification" do
          clean_restart(MyEndpoint)
          cert = get_cert(MyEndpoint)
          assert cert.domains == ~w/mysite.com www.mysite.com/
        end
      end