Merge branch 'master' into glitch-soc/merge-upstream
Conflicts: - app/models/status.rb - app/services/remove_status_service.rb - db/schema.rb All conflicts were due to the addition of a `deleted_at` attribute to Statuses and reworked database indexes.
This commit is contained in:
@ -47,7 +47,7 @@ describe Admin::ReportedStatusesController do
|
||||
it 'removes a status' do
|
||||
allow(RemovalWorker).to receive(:perform_async)
|
||||
subject.call
|
||||
expect(RemovalWorker).to have_received(:perform_async).with(status_ids.first)
|
||||
expect(RemovalWorker).to have_received(:perform_async).with(status_ids.first, redraft: false)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -65,7 +65,7 @@ describe Admin::StatusesController do
|
||||
it 'removes a status' do
|
||||
allow(RemovalWorker).to receive(:perform_async)
|
||||
subject.call
|
||||
expect(RemovalWorker).to have_received(:perform_async).with(status_ids.first)
|
||||
expect(RemovalWorker).to have_received(:perform_async).with(status_ids.first, redraft: false)
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user