Add a comment in interceptor spec.
This commit is contained in:
parent
3b6737f970
commit
28c08775b3
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue