1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionmailbox/test/unit/mail_ext/address_wrapping_test.rb

14 lines
405 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-12-24 15:16:22 -05:00
require_relative "../../test_helper"
module MailExt
class AddressWrappingTest < ActiveSupport::TestCase
test "wrap" do
needing_wrapping = Mail::Address.wrap("david@basecamp.com")
wrapping_not_needed = Mail::Address.wrap(Mail::Address.new("david@basecamp.com"))
assert_equal needing_wrapping.address, wrapping_not_needed.address
end
end
end