diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/mail_ext/address_equality_test.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/unit/mail_ext/address_equality_test.rb b/test/unit/mail_ext/address_equality_test.rb new file mode 100644 index 0000000000..56e9bfa47f --- /dev/null +++ b/test/unit/mail_ext/address_equality_test.rb @@ -0,0 +1,9 @@ +require_relative '../../test_helper' + +module MailExt + class AddressEqualityTest < ActiveSupport::TestCase + test "two addresses with the same address are equal" do + assert_equal Mail::Address.new("david@basecamp.com"), Mail::Address.new("david@basecamp.com") + end + end +end |