You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I send my mail both via Pony and ActionMailer. When i want to test ActionMailer i can't, because email-spec defines deliveries method only in Pony way.
Can you add possibility to choose mail service i work through?
After email-spec#219, ActionMailer became lazily loaded, leading to this library
hooking into RSpec potentially before including the module specific to
the delivery method in use, so RSpec never saw the delivery
method-specific module, leading to errors as documented in email-spec#221.
Now, the individual methods (ie. `reset_mailer`, `deliveries`) are
responsible for branching based on the correct delivery method, defining
their corresponding implementation.
Thinking longer term, there's no guarantee a single delivery method is
used across the board (though that's likely the most common scenario),
so rather than branching, we should probably iterate through all
supported delivery methods. email-spec#216 touches on this, where instead of
assuming Pony OR ActionMailer, both should likely be supported
simultaneously, searching each for a given email, and resetting all.
Fixesemail-spec#221
I send my mail both via Pony and ActionMailer. When i want to test ActionMailer i can't, because email-spec defines
deliveries
method only in Pony way.Can you add possibility to choose mail service i work through?
The text was updated successfully, but these errors were encountered: