mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-25 19:48:48 +01:00
- Some fixtures added by Erik Ordway broke tests
- message:// links had an edge case I broke with 68701ada
- One test had a hard-coded id that changed
Closes #1019
133 lines
1.9 KiB
YAML
133 lines
1.9 KiB
YAML
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
|
<%
|
|
|
|
def today
|
|
Time.now.utc.to_s(:db)
|
|
end
|
|
|
|
%>
|
|
agenda:
|
|
id: 1
|
|
name: agenda
|
|
position: 1
|
|
hide: false
|
|
user_id: 1
|
|
created_at: <%= today %>
|
|
updated_at: <%= today %>
|
|
|
|
call:
|
|
id: 2
|
|
name: call
|
|
position: 2
|
|
hide: false
|
|
user_id: 1
|
|
created_at: <%= today %>
|
|
updated_at: <%= today %>
|
|
|
|
email:
|
|
id: 3
|
|
name: email
|
|
position: 3
|
|
hide: false
|
|
user_id: 1
|
|
created_at: <%= today %>
|
|
updated_at: <%= today %>
|
|
|
|
errand:
|
|
id: 4
|
|
name: errand
|
|
position: 4
|
|
hide: false
|
|
user_id: 1
|
|
created_at: <%= today %>
|
|
updated_at: <%= today %>
|
|
|
|
lab:
|
|
id: 5
|
|
name: lab
|
|
position: 5
|
|
hide: false
|
|
user_id: 1
|
|
created_at: <%= today %>
|
|
updated_at: <%= today %>
|
|
|
|
library:
|
|
id: 6
|
|
name: library
|
|
position: 6
|
|
hide: false
|
|
user_id: 1
|
|
created_at: <%= today %>
|
|
updated_at: <%= today %>
|
|
|
|
freetime:
|
|
id: 7
|
|
name: freetime
|
|
position: 7
|
|
hide: false
|
|
user_id: 1
|
|
created_at: <%= today %>
|
|
updated_at: <%= today %>
|
|
|
|
office:
|
|
id: 8
|
|
name: office
|
|
position: 8
|
|
hide: false
|
|
user_id: 1
|
|
created_at: <%= today %>
|
|
updated_at: <%= today %>
|
|
|
|
waitingfor:
|
|
id: 9
|
|
name: waiting for
|
|
position: 9
|
|
hide: false
|
|
user_id: 1
|
|
created_at: <%= today %>
|
|
updated_at: <%= today %>
|
|
|
|
office_otheruser:
|
|
id: 10
|
|
name: office
|
|
position: 1
|
|
hide: false
|
|
user_id: 2
|
|
created_at: <%= today %>
|
|
updated_at: <%= today %>
|
|
|
|
waitingfor_otheruser:
|
|
id: 11
|
|
name: waiting for
|
|
position: 2
|
|
hide: false
|
|
user_id: 2
|
|
created_at: <%= today %>
|
|
updated_at: <%= today %>
|
|
|
|
someday_maybe:
|
|
id: 12
|
|
name: someday maybe
|
|
position: 10
|
|
hide: true
|
|
user_id: 1
|
|
created_at: <%= today %>
|
|
updated_at: <%= today %>
|
|
|
|
inbox:
|
|
id: 13
|
|
name: Inbox
|
|
position: 1
|
|
hide: false
|
|
user_id: 4
|
|
created_at: <%= today %>
|
|
updated_at: <%= today %>
|
|
|
|
anothercontext:
|
|
id: 14
|
|
name: anothercontext
|
|
position: 2
|
|
hide: false
|
|
user_id: 4
|
|
created_at: <%= today %>
|
|
updated_at: <%= today %>
|