mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-17 04:38:08 +01:00
add state machine to context including a closed state
This commit is contained in:
parent
3c6b1737c1
commit
99eed9f638
4 changed files with 93 additions and 28 deletions
28
test/fixtures/contexts.yml
vendored
28
test/fixtures/contexts.yml
vendored
|
|
@ -10,7 +10,7 @@ agenda:
|
|||
id: 1
|
||||
name: agenda
|
||||
position: 1
|
||||
hide: false
|
||||
state: active
|
||||
user_id: 1
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
|
|
@ -19,7 +19,7 @@ call:
|
|||
id: 2
|
||||
name: call
|
||||
position: 2
|
||||
hide: false
|
||||
state: active
|
||||
user_id: 1
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
|
|
@ -28,7 +28,7 @@ email:
|
|||
id: 3
|
||||
name: email
|
||||
position: 3
|
||||
hide: false
|
||||
state: active
|
||||
user_id: 1
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
|
|
@ -37,7 +37,7 @@ errand:
|
|||
id: 4
|
||||
name: errand
|
||||
position: 4
|
||||
hide: false
|
||||
state: active
|
||||
user_id: 1
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
|
|
@ -46,7 +46,7 @@ lab:
|
|||
id: 5
|
||||
name: lab
|
||||
position: 5
|
||||
hide: false
|
||||
state: active
|
||||
user_id: 1
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
|
|
@ -55,7 +55,7 @@ library:
|
|||
id: 6
|
||||
name: library
|
||||
position: 6
|
||||
hide: false
|
||||
state: active
|
||||
user_id: 1
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
|
|
@ -64,7 +64,7 @@ freetime:
|
|||
id: 7
|
||||
name: freetime
|
||||
position: 7
|
||||
hide: false
|
||||
state: active
|
||||
user_id: 1
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
|
|
@ -73,7 +73,7 @@ office:
|
|||
id: 8
|
||||
name: office
|
||||
position: 8
|
||||
hide: false
|
||||
state: active
|
||||
user_id: 1
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
|
|
@ -82,7 +82,7 @@ waitingfor:
|
|||
id: 9
|
||||
name: waiting for
|
||||
position: 9
|
||||
hide: false
|
||||
state: active
|
||||
user_id: 1
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
|
|
@ -91,7 +91,7 @@ office_otheruser:
|
|||
id: 10
|
||||
name: office
|
||||
position: 1
|
||||
hide: false
|
||||
state: active
|
||||
user_id: 2
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
|
|
@ -100,7 +100,7 @@ waitingfor_otheruser:
|
|||
id: 11
|
||||
name: waiting for
|
||||
position: 2
|
||||
hide: false
|
||||
state: active
|
||||
user_id: 2
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
|
|
@ -109,7 +109,7 @@ someday_maybe:
|
|||
id: 12
|
||||
name: someday maybe
|
||||
position: 10
|
||||
hide: true
|
||||
state: hidden
|
||||
user_id: 1
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
|
|
@ -118,7 +118,7 @@ inbox:
|
|||
id: 13
|
||||
name: Inbox
|
||||
position: 1
|
||||
hide: false
|
||||
state: active
|
||||
user_id: 4
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
|
|
@ -127,7 +127,7 @@ anothercontext:
|
|||
id: 14
|
||||
name: anothercontext
|
||||
position: 2
|
||||
hide: false
|
||||
state: active
|
||||
user_id: 4
|
||||
created_at: <%= today %>
|
||||
updated_at: <%= today %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue