mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
18 lines
427 B
Ruby
18 lines
427 B
Ruby
|
# 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
|