0
0
Fork 0

Rename jobs/attachments rspec tag names (#29762)

This commit is contained in:
Matt Jankowski 2024-07-08 12:01:08 -04:00 committed by GitHub
parent 79b0e192d9
commit f1300ad284
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
63 changed files with 76 additions and 76 deletions

View file

@ -14,7 +14,7 @@ describe BackupWorker do
let(:backup) { Fabricate(:backup) }
let!(:other_backup) { Fabricate(:backup, user: backup.user) }
it 'sends the backup to the service and removes other backups', :sidekiq_inline do
it 'sends the backup to the service and removes other backups', :inline_jobs do
emails = capture_emails { worker.perform(backup.id) }
expect(service).to have_received(:call).with(backup)

View file

@ -104,7 +104,7 @@ describe MoveWorker do
end
shared_examples 'lists handling' do
it 'puts the new account on the list and makes valid lists', :sidekiq_inline do
it 'puts the new account on the list and makes valid lists', :inline_jobs do
subject.perform(source_account.id, target_account.id)
expect(list.accounts.include?(target_account)).to be true

View file

@ -2,7 +2,7 @@
require 'rails_helper'
describe PostProcessMediaWorker, :paperclip_processing do
describe PostProcessMediaWorker, :attachment_processing do
let(:worker) { described_class.new }
describe '#perform' do