~cytrogen/masto-fe

ref: 9a472efe7c21447ce4e246bacff5a857a341e4f3 masto-fe/spec/workers/redownload_header_worker_spec.rb -rw-r--r-- 278 bytes
9a472efe — たいち ひ Rewrite `<TimelineHint />` as FC and TS (#25091) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'rails_helper'

describe RedownloadHeaderWorker do
  let(:worker) { described_class.new }

  describe 'perform' do
    it 'runs without error for missing record' do
      expect { worker.perform(nil) }.to_not raise_error
    end
  end
end