Autofix Rubocop RSpec/LeadingSubject (#23670)
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Vacuum::BackupsVacuum do
|
||||
let(:retention_period) { 7.days }
|
||||
|
||||
subject { described_class.new(retention_period) }
|
||||
|
||||
let(:retention_period) { 7.days }
|
||||
|
||||
describe '#perform' do
|
||||
let!(:expired_backup) { Fabricate(:backup, created_at: (retention_period + 1.day).ago) }
|
||||
let!(:current_backup) { Fabricate(:backup) }
|
||||
|
Reference in New Issue
Block a user