From 688287c59d526ef76089322a368789f5846c6ac3 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Fri, 10 Mar 2023 07:33:30 -0500 Subject: Coverage improvement round-out following up previous work (#23987) --- spec/workers/verify_account_links_worker_spec.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 spec/workers/verify_account_links_worker_spec.rb (limited to 'spec/workers/verify_account_links_worker_spec.rb') diff --git a/spec/workers/verify_account_links_worker_spec.rb b/spec/workers/verify_account_links_worker_spec.rb new file mode 100644 index 000000000..227591392 --- /dev/null +++ b/spec/workers/verify_account_links_worker_spec.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +require 'rails_helper' + +describe VerifyAccountLinksWorker 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 -- cgit