push_update_worker_spec.rb 336 B

12345678910111213141516
  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. describe PushUpdateWorker do
  4. let(:worker) { described_class.new }
  5. describe 'perform' do
  6. it 'runs without error for missing record' do
  7. account_id = nil
  8. status_id = nil
  9. expect { worker.perform(account_id, status_id) }.to_not raise_error
  10. end
  11. end
  12. end