Skip to content

v0.6.2

Compare
Choose a tag to compare
@brandonjoyce brandonjoyce released this 19 Aug 04:30
· 47 commits to master since this release

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)