mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
18 lines
362 B
Ruby
18 lines
362 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "test_helper"
|
|
require "database/setup"
|
|
|
|
class ActiveStorage::AnalyzeJobTest < ActiveJob::TestCase
|
|
setup { @blob = create_blob }
|
|
|
|
test "ignores missing blob" do
|
|
@blob.purge
|
|
|
|
perform_enqueued_jobs do
|
|
assert_nothing_raised do
|
|
ActiveStorage::AnalyzeJob.perform_later @blob
|
|
end
|
|
end
|
|
end
|
|
end
|