Open martinos opened 8 years ago
+1 for this. Will be pointing to your branch until the PR goes through.
@kamilc Is there a reason to have different results? Writing code with tests and matching against result isn't possible because of this
👍 Experiencing the same issue here. Both adapters should return a Task
.
The
TestingAdapter.deliver
function returns aTask
, however theExternalSmtpAdapter.deliver
returns a tuple:{:ok, message}
.I think that both function should return the same type, it would make tests behave more like production code.