Add a comment in interceptor spec.

This commit is contained in:
Marin Jankovski 2014-10-27 15:11:03 +01:00
parent 3b6737f970
commit 28c08775b3

View file

@ -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