add organisation and direction to procedure factory

This commit is contained in:
Tanguy PATTE 2015-12-21 17:51:08 +01:00
parent 4782ceef71
commit e40e1299ad

View file

@ -3,6 +3,8 @@ FactoryGirl.define do
lien_demarche 'http://localhost'
libelle 'Demande de subvention'
description "Demande de subvention à l'intention des associations"
organisation "Orga SGMAP"
direction "direction SGMAP"
after(:build) do |procedure, _evaluator|
if procedure.module_api_carto.nil?