Commit 28c08775 authored by Marin Jankovski's avatar Marin Jankovski

Add a comment in interceptor spec.

parent 3b6737f9
...@@ -13,6 +13,9 @@ describe DisableEmailInterceptor do ...@@ -13,6 +13,9 @@ describe DisableEmailInterceptor do
end end
after do after do
# Removing interceptor from the list because unregister_interceptor is
# implemented in later version of mail gem
# See: https://github.com/mikel/mail/pull/705
Mail.class_variable_set(:@@delivery_interceptors, []) Mail.class_variable_set(:@@delivery_interceptors, [])
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment