Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit f0bc59e

Browse files
author
Lennon Day-Reynolds
committed
changed fixture to use '1.day', etc., instead of hardcoded num. of seconds
1 parent d989ada commit f0bc59e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/fixtures/events.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ babyshower:
33
member_id: 1
44
location_id: 1
55
name: Peats baby shower
6-
starts_at: <%= Time.now - 200000 %>
7-
ends_at: <%= Time.now - 100000 %>
6+
starts_at: <%= Time.now - (1.day + 1.hour) %>
7+
ends_at: <%= Time.now - 1.day %>
88
agenda: Peat will present his fat belly. We will all gather around. We will then rub it. 3 more weeks...and peat jr.
99
status: active
1010
minutes: foobar
@@ -14,8 +14,8 @@ prom:
1414
member_id: 2
1515
location_id: 1
1616
name: Ben High School Prom
17-
starts_at: <%= Time.now + 10000 %>
18-
ends_at: <%= Time.now + 20000 %>
17+
starts_at: <%= Time.now + 1.day %>
18+
ends_at: <%= Time.now + (1.day + 1.hour) %>
1919
agenda: Ben is hoping to get some action tonight. He is going to pick me up at 9PM.
2020
status: active
2121
minutes: stuff happened

0 commit comments

Comments
 (0)