diff options
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 |