Browse Source

Bike seed data in fixtures

denney-disable-on-select
Jason Denney 12 years ago
parent
commit
b08197256f
  1. 15
      test/fixtures/acts_as_loggable/bike_actions.yml
  2. 13
      test/fixtures/bike_conditions.yml
  3. 15
      test/fixtures/bike_statuses.yml

15
test/fixtures/acts_as_loggable/bike_actions.yml

@ -0,0 +1,15 @@
acquired:
id: 1
action: ACQUIRED
scrapped:
id: 2
action: SCRAPPED
worked:
id: 3
action: WORKED
completed:
id: 4
action: COMPLETED
sold:
id: 5
action: SOLD

13
test/fixtures/bike_conditions.yml

@ -0,0 +1,13 @@
poor:
id: 1
condition: POOR
fair:
id: 2
condition: FAIR
good:
id: 3
condition: GOOD
excellent:
id: 4
condition: EXCELLENT

15
test/fixtures/bike_statuses.yml

@ -0,0 +1,15 @@
undetermined:
id: 1
status: UNDETERMINED
scrap:
id: 2
status: SCRAP
parts:
id: 3
status: PARTS
buildbike:
id: 4
status: BUILDBIKE
sale:
id: 5
status: SALE
Loading…
Cancel
Save