1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/test/jobs/incineration_job_test.rb
2018-11-09 13:45:51 -05:00

17 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