diff options
| author | Zog | 2018-04-26 08:56:43 +0200 |
|---|---|---|
| committer | Zog | 2018-04-26 08:56:43 +0200 |
| commit | 25becea7c5c2df57019212f5e5ce7fb0766312ec (patch) | |
| tree | 465db369081faf8bf2f47832bcf7697afb883c74 /spec | |
| parent | 43c5ef689517663b15724f9a472211ccef3d0250 (diff) | |
| download | chouette-core-25becea7c5c2df57019212f5e5ce7fb0766312ec.tar.bz2 | |
Fix VehicleJourney Specs
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/factories/custom_fields.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/factories/custom_fields.rb b/spec/factories/custom_fields.rb index db7a3823e..897fb4786 100644 --- a/spec/factories/custom_fields.rb +++ b/spec/factories/custom_fields.rb @@ -5,5 +5,6 @@ FactoryGirl.define do sequence(:name){|n| "custom field ##{n}"} field_type "integer" options( { capacity: "0" } ) + workgroup { Referential.find_by!(name: "first").workgroup } end end |
