diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-07-26 17:01:24 +0300 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-07-27 16:46:04 +0300 |
commit | 7f7e93a34471f673ac3888549c67bce4e763300e (patch) | |
tree | 0a8aaba288d2fd56b0e46b15c0fd5aba60fb854d /spec/workers/invalid_gpg_signature_update_worker_spec.rb | |
parent | f1ccecc9979e3091e7cf54f98508f6bc7c01a7f5 (diff) |
remove log statements from workers
Diffstat (limited to 'spec/workers/invalid_gpg_signature_update_worker_spec.rb')
-rw-r--r-- | spec/workers/invalid_gpg_signature_update_worker_spec.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/workers/invalid_gpg_signature_update_worker_spec.rb b/spec/workers/invalid_gpg_signature_update_worker_spec.rb index 8d568076e1a..5972696515b 100644 --- a/spec/workers/invalid_gpg_signature_update_worker_spec.rb +++ b/spec/workers/invalid_gpg_signature_update_worker_spec.rb @@ -16,13 +16,6 @@ describe InvalidGpgSignatureUpdateWorker do context 'when GpgKey is not found' do let(:nonexisting_gpg_key_id) { -1 } - it 'logs InvalidGpgSignatureUpdateWorker process skipping' do - expect(Rails.logger).to receive(:error) - .with("InvalidGpgSignatureUpdateWorker: couldn't find gpg_key with ID=-1, skipping job") - - described_class.new.perform(nonexisting_gpg_key_id) - end - it 'does not raise errors' do expect { described_class.new.perform(nonexisting_gpg_key_id) }.not_to raise_error end |