Clean up of RSpec/LetSetup
within spec/lib
(#28447)
This commit is contained in:
parent
cd64a5b2ec
commit
c99f88e1a8
4 changed files with 12 additions and 7 deletions
|
@ -30,5 +30,9 @@ RSpec.describe Vacuum::PreviewCardsVacuum do
|
|||
it 'does not delete attached preview cards' do
|
||||
expect(new_preview_card.reload).to be_persisted
|
||||
end
|
||||
|
||||
it 'does not delete orphaned preview cards in the retention period' do
|
||||
expect(orphaned_preview_card.reload).to be_persisted
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue