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

11 lines
348 B
Ruby
Raw Normal View History

require_relative '../test_helper'
module ActionMailroom
class InboundEmailTest < ActiveSupport::TestCase
test "message id is extracted from raw email" do
inbound_email = create_inbound_email_from_fixture("welcome.eml")
assert_equal "0CB459E0-0336-41DA-BC88-E6E28C697DDB@37signals.com", inbound_email.message_id
end
end
end