Sha256: 60267ff335a869b74fa1fe9cb07dd3fac347b71d646d7ef4b1cadae8a7ded1de

Contents?: true

Size: 427 Bytes

Versions: 1

Compression:

Stored size: 427 Bytes

Contents

# 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
actionmailbox-0.1.0 test/jobs/incineration_job_test.rb