~cytrogen/masto-fe

ref: f1d250135ccf9be5c4d982a2c48417da89d38eb5 masto-fe/spec/workers/push_update_worker_spec.rb -rw-r--r-- 336 bytes
f1d25013 — Santiago Kozak Allow filter form in profiles directory to wrap (#26682) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

require 'rails_helper'

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

  describe 'perform' do
    it 'runs without error for missing record' do
      account_id = nil
      status_id = nil

      expect { worker.perform(account_id, status_id) }.to_not raise_error
    end
  end
end