mirror of https://github.com/fspc/BikeShed-1.git
Browse Source
Only using fixtures for seeding, using factories for testing. -For some reason, module fixtures won't auto create dates, must include updated_at and created_at dates in fixture.denney-disable-on-select
Jason Denney
12 years ago
2 changed files with 19 additions and 1 deletions
@ -1,15 +1,25 @@ |
|||
acquired: |
|||
id: 1 |
|||
action: ACQUIRED |
|||
created_at: <%= Time.now %> |
|||
updated_at: <%= Time.now %> |
|||
scrapped: |
|||
id: 2 |
|||
action: SCRAPPED |
|||
created_at: <%= Time.now %> |
|||
updated_at: <%= Time.now %> |
|||
worked: |
|||
id: 3 |
|||
action: WORKED |
|||
created_at: <%= Time.now %> |
|||
updated_at: <%= Time.now %> |
|||
completed: |
|||
id: 4 |
|||
action: COMPLETED |
|||
created_at: <%= Time.now %> |
|||
updated_at: <%= Time.now %> |
|||
sold: |
|||
id: 5 |
|||
action: SOLD |
|||
created_at: <%= Time.now %> |
|||
updated_at: <%= Time.now %> |
|||
|
Loading…
Reference in new issue