Rename jobs/attachments rspec tag names (#29762)
This commit is contained in:
parent
79b0e192d9
commit
f1300ad284
63 changed files with 76 additions and 76 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue