Fix broken specs

Rubocop fooled me into breaking this.
This commit is contained in:
David Roetzel 2025-04-10 11:06:29 +02:00
parent f106686f47
commit 77488e1dab
No known key found for this signature in database

View File

@ -5,8 +5,7 @@ require 'rails_helper'
RSpec.describe Fasp::BackfillRequest do
describe '#next_objects' do
let(:account) { Fabricate(:account) }
before { Fabricate.times(3, :status, account:).sort_by(&:id) }
let!(:statuses) { Fabricate.times(3, :status, account:).sort_by(&:id) }
context 'with a new backfill request' do
subject { Fabricate(:fasp_backfill_request, max_count: 2) }