~cytrogen/masto-fe

ref: e387175fc9a3ebfd72ab45ebfe43ecfabef7b0c3 masto-fe/spec/workers/push_update_worker_spec.rb -rw-r--r-- 336 bytes
e387175f — Matt Jankowski Fix RSpec/RepeatedExample cop (#24849) 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