double v0.6.2 Release Notes

Release Date: 2017-08-19 // over 6 years ago
  • 🚀 This release fixes an issue with verifications on module based doubles that have macros. Macros can now be stubbed whereas they would have thrown a verification error before.

    For example, Logger.info/1 is a macro that you can now stub and it will be properly verified.

    logger_stub = Logger
    |> double()
    |> allow(:info, fn(_msg) -> :ok end)