aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZog2018-04-26 08:56:43 +0200
committerZog2018-04-26 08:56:43 +0200
commit25becea7c5c2df57019212f5e5ce7fb0766312ec (patch)
tree465db369081faf8bf2f47832bcf7697afb883c74
parent43c5ef689517663b15724f9a472211ccef3d0250 (diff)
downloadchouette-core-25becea7c5c2df57019212f5e5ce7fb0766312ec.tar.bz2
Fix VehicleJourney Specs
-rw-r--r--spec/factories/custom_fields.rb1
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