blob: a3907898abbb070f938f5d8fa930d5b22582156f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# frozen_string_literal: true
require "test_helper"
class ActionMailbox::IncinerationJobTest < ActiveJob::TestCase
setup { @inbound_email = receive_inbound_email_from_fixture("welcome.eml") }
test "ignoring a missing inbound email" do
@inbound_email.destroy!
perform_enqueued_jobs do
assert_nothing_raised do
ActionMailbox::IncinerationJob.perform_later @inbound_email
end
end
end
end
|