mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 01:31:39 -05:00
Fix last failing spec
This commit is contained in:
parent
e95ad88382
commit
006456966d
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue