Add workaround for failing doctest
on_exit in test does not work properly as teardown - the variable is unset, but doctest apparently runs after tests and it is not cleaned up
This commit is contained in:
parent
5a7f651547
commit
ca4eaf6f54
@ -18,6 +18,7 @@ defmodule BasicSignupWhitelist do
|
|||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
iex> System.delete_env("SIGNUP_ALLOWED_EMAILS")
|
||||||
iex> BasicSignupWhitelist.mail_whitelisted("joe@example.com")
|
iex> BasicSignupWhitelist.mail_whitelisted("joe@example.com")
|
||||||
false
|
false
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user