diff options
| author | Alban Peignier | 2018-04-16 11:52:14 +0200 |
|---|---|---|
| committer | Alban Peignier | 2018-04-16 11:52:19 +0200 |
| commit | 9276a47e2ddccbde5aefca8e33f4c2b36057ef99 (patch) | |
| tree | 7727e57517c5e88937028de2f0d9de62bf735149 /db | |
| parent | caaa83f6e4fd5404161974de16974b1e0d66b6f9 (diff) | |
| download | chouette-core-9276a47e2ddccbde5aefca8e33f4c2b36057ef99.tar.bz2 | |
Add a test CustomField on JourneyPattern. Refs #6551
Diffstat (limited to 'db')
| -rw-r--r-- | db/seeds/development/custom_fields.seeds.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/db/seeds/development/custom_fields.seeds.rb b/db/seeds/development/custom_fields.seeds.rb index eb3afc394..61a294bb0 100644 --- a/db/seeds/development/custom_fields.seeds.rb +++ b/db/seeds/development/custom_fields.seeds.rb @@ -40,7 +40,7 @@ Workgroup.find_each do |workgroup| workgroup.custom_fields.seed_by(code: "stop_area_test_integer") do |field| field.resource_type = "StopArea" - field.name = "Test de Nomber" + field.name = "Test de Nombre" field.field_type = "integer" end @@ -49,4 +49,10 @@ Workgroup.find_each do |workgroup| field.name = "Test de Piece Jointe" field.field_type = "attachment" end + + workgroup.custom_fields.seed_by(code: "journey_pattern_test_integer") do |field| + field.resource_type = "JourneyPattern" + field.name = "Test de Nombre" + field.field_type = "integer" + end end |
