Fix last failing spec

This commit is contained in:
Eugene Burmakin 2025-08-29 14:32:04 +02:00
parent e95ad88382
commit 006456966d

View file

@ -105,7 +105,11 @@ class Tracks::ParallelGenerator
end end
def clean_bulk_tracks def clean_bulk_tracks
user.tracks.where(start_at: time_range).destroy_all if time_range_defined? if time_range_defined?
user.tracks.where(start_at: time_range).destroy_all
else
user.tracks.destroy_all
end
end end
def clean_daily_tracks def clean_daily_tracks