mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-30 20:55:17 +01:00
parent
33c814e1b9
commit
d2931ea7f0
3 changed files with 19 additions and 1 deletions
8
test/fixtures/projects.yml
vendored
8
test/fixtures/projects.yml
vendored
|
|
@ -6,6 +6,12 @@
|
|||
def today
|
||||
Time.zone.now.utc.beginning_of_day.to_s(:db)
|
||||
end
|
||||
def yesterday
|
||||
1.day.ago.utc.beginning_of_day.to_s(:db)
|
||||
end
|
||||
def last_week
|
||||
1.week.ago.utc.beginning_of_day.to_s(:db)
|
||||
end
|
||||
%>
|
||||
|
||||
timemachine:
|
||||
|
|
@ -28,6 +34,7 @@ moremoney:
|
|||
user_id: 1
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
last_reviewed: <%= yesterday %>
|
||||
|
||||
gardenclean:
|
||||
id: 3
|
||||
|
|
@ -38,6 +45,7 @@ gardenclean:
|
|||
user_id: 1
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
last_reviewed: <%= last_week %>
|
||||
|
||||
attendrailsconf:
|
||||
id: 4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue