diff options
author | Azul <azul@riseup.net> | 2016-08-30 12:38:43 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-08-31 12:14:52 +0200 |
commit | 625416ac16a1216240fc4c48aa19802ef8a967a1 (patch) | |
tree | f3a4a54627fcae49bf896f5f58e60b506f9a55d4 /test/unit/email_address_test.rb | |
parent | b22e23eb9f5a1cb3e37ab2a26b1091183574f4e4 (diff) |
wip: key lookup by address via leaps nicknym
I added a RequestHandler that uses Nicknym::Source - but that has not
been implemented yet.
Diffstat (limited to 'test/unit/email_address_test.rb')
-rw-r--r-- | test/unit/email_address_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/email_address_test.rb b/test/unit/email_address_test.rb index 6d57a8c..6aecef7 100644 --- a/test/unit/email_address_test.rb +++ b/test/unit/email_address_test.rb @@ -5,6 +5,7 @@ class EmailAddressTest < Minitest::Test def test_domain nick = Nickserver::EmailAddress.new 'nick@test.me' + assert_equal 'test.me', nick.domain assert nick.domain?('test.me') assert !nick.domain?('est.me') end |