add fixtures
- M exercisetracker/trunk/test/fixtures/activities.yml view
- M exercisetracker/trunk/test/fixtures/exercises.yml view
| 15 | 40 | |
|---|---|---|
| 1 | # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html | |
| 2 | one: | |
| 1 | bench_press: | |
| 3 | 2 | id: 1 |
| 4 | name: MyString | |
| 3 | name: Bench press | |
| 4 | noun: rep | |
| 5 | use_duration: false | |
| 6 | use_reps: true | |
| 7 | use_weight: true | |
| 8 | use_distance: false | |
| 9 | double_weight: false | |
| 5 | 10 | created_at: 2007-06-17 15:00:43 |
| 6 | 11 | updated_at: 2007-06-17 15:00:43 |
| 7 | two: | |
| 12 | ||
| 13 | side_row: | |
| 8 | 14 | id: 2 |
| 9 | name: MyString | |
| 10 | created_at: 2007-06-17 15:00:43 | |
| 11 | updated_at: 2007-06-17 15:00:43 | |
| 15 | name: Side row | |
| 16 | noun: rep | |
| 17 | use_duration: false | |
| 18 | use_reps: true | |
| 19 | use_weight: true | |
| 20 | use_distance: false | |
| 21 | double_weight: true | |
| 22 | created_at: 2007-06-18 15:00:43 | |
| 23 | updated_at: 2007-06-18 15:00:43 | |
| 15 | 40 | |
|---|---|---|
| 1 | # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html | |
| 2 | one: | |
| 1 | bench_press_set: | |
| 3 | 2 | id: 1 |
| 4 | reps: 1 | |
| 5 | weight: 1 | |
| 6 | duration: 1 | |
| 3 | reps: 12 | |
| 4 | weight: 115 | |
| 5 | duration: ~ | |
| 6 | distance: ~ | |
| 7 | activity_id: 1 | |
| 7 | 8 | created_at: 2007-06-17 15:18:58 |
| 8 | 9 | updated_at: 2007-06-17 15:18:58 |
| 9 | two: | |
| 10 | ||
| 11 | side_row_set: | |
| 10 | 12 | id: 2 |
| 11 | reps: 1 | |
| 12 | weight: 1 | |
| 13 | duration: 1 | |
| 14 | created_at: 2007-06-17 15:18:58 | |
| 15 | updated_at: 2007-06-17 15:18:58 | |
| 13 | reps: 15 | |
| 14 | weight: 10 | |
| 15 | duration: ~ | |
| 16 | distance: ~ | |
| 17 | activity_id: 2 | |
| 18 | created_at: 2007-06-18 15:18:58 | |
| 19 | updated_at: 2007-06-18 15:18:58 | |
| 20 | ||
| 21 | today_set: | |
| 22 | id: 4 | |
| 23 | reps: 12 | |
| 24 | weight: 115 | |
| 25 | duration: ~ | |
| 26 | distance: ~ | |
| 27 | activity_id: 1 | |
| 28 | created_at: <%= Time.now.to_s(:db) %> | |
| 29 | updated_at: <%= Time.now.to_s(:db) %> | |
