empty covered by not equals - not allowed
This commit is contained in:
parent
b5e308aec6
commit
e30a92193d
@ -9,6 +9,10 @@ defmodule FunCore.BasicSignupWhitelistTest do
|
||||
refute(mail_whitelisted_fun(nil, "joe@example.com"))
|
||||
end
|
||||
|
||||
test "When empty, not whitelisted" do
|
||||
refute(mail_whitelisted_fun("", "joe@example.com"))
|
||||
end
|
||||
|
||||
test "When set and mach, then whitelisted" do
|
||||
assert(mail_whitelisted_fun("joe@example.com", "joe@example.com"))
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user