mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
start adding test fixtures
This commit is contained in:
parent
b85b3fc081
commit
00d06b7a00
3 changed files with 48 additions and 2 deletions
18
test/fixtures/contexts.yml
vendored
18
test/fixtures/contexts.yml
vendored
|
@ -131,3 +131,21 @@ anothercontext:
|
|||
user_id: 4
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
|
||||
inbox:
|
||||
id: 15
|
||||
name: Inbox
|
||||
position: 1
|
||||
hide: false
|
||||
user_id: 5
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
|
||||
anothercontext:
|
||||
id: 16
|
||||
name: anothercontext
|
||||
position: 2
|
||||
hide: false
|
||||
user_id: 5
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
20
test/fixtures/preferences.yml
vendored
20
test/fixtures/preferences.yml
vendored
|
@ -53,4 +53,22 @@ sms_user_prefs:
|
|||
verbose_action_descriptors: false
|
||||
show_project_on_todo_done: true
|
||||
sms_email: 5555555555@tmomail.net
|
||||
sms_context_id: 13
|
||||
sms_context_id: 13
|
||||
|
||||
other_user_prefs:
|
||||
id: 4
|
||||
user_id: 5
|
||||
staleness_starts: 7
|
||||
date_format: "%d/%m/%Y"
|
||||
title_date_format: "%A, %d %B %Y"
|
||||
show_number_completed: 5
|
||||
show_completed_projects_in_sidebar: true
|
||||
show_hidden_contexts_in_sidebar: true
|
||||
show_hidden_projects_in_sidebar: true
|
||||
admin_email: butshesagirl@rousette.org.uk
|
||||
week_starts: 1
|
||||
due_style: 0
|
||||
refresh: 0
|
||||
time_zone: "Los_Angeles"
|
||||
verbose_action_descriptors: false
|
||||
show_project_on_todo_done: true
|
||||
|
|
12
test/fixtures/users.yml
vendored
12
test/fixtures/users.yml
vendored
|
@ -37,4 +37,14 @@ sms_user:
|
|||
is_admin: false
|
||||
first_name: SMS
|
||||
last_name: Tester
|
||||
auth_type: database
|
||||
auth_type: database
|
||||
|
||||
ldap_user:
|
||||
id: 5
|
||||
login: john
|
||||
crypted_password: test
|
||||
token: <%= Digest::SHA1.hexdigest("internationalSun Feb 19 14:42:45 GMT 20060.408173979260027") %>
|
||||
is_admin: false
|
||||
first_name: International
|
||||
last_name: Harvester
|
||||
auth_type: CAS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue