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: |
acquired: |
||||
id: 1 |
id: 1 |
||||
action: ACQUIRED |
action: ACQUIRED |
||||
|
created_at: <%= Time.now %> |
||||
|
updated_at: <%= Time.now %> |
||||
scrapped: |
scrapped: |
||||
id: 2 |
id: 2 |
||||
action: SCRAPPED |
action: SCRAPPED |
||||
|
created_at: <%= Time.now %> |
||||
|
updated_at: <%= Time.now %> |
||||
worked: |
worked: |
||||
id: 3 |
id: 3 |
||||
action: WORKED |
action: WORKED |
||||
|
created_at: <%= Time.now %> |
||||
|
updated_at: <%= Time.now %> |
||||
completed: |
completed: |
||||
id: 4 |
id: 4 |
||||
action: COMPLETED |
action: COMPLETED |
||||
|
created_at: <%= Time.now %> |
||||
|
updated_at: <%= Time.now %> |
||||
sold: |
sold: |
||||
id: 5 |
id: 5 |
||||
action: SOLD |
action: SOLD |
||||
|
created_at: <%= Time.now %> |
||||
|
updated_at: <%= Time.now %> |
||||
|
Loading…
Reference in new issue