demarches-normaliennes/spec/system/administrateurs/procedure_spec_helper.rb

10 lines
479 B
Ruby
Raw Normal View History

2018-05-23 23:32:49 +02:00
module ProcedureSpecHelper
def fill_in_dummy_procedure_details(fill_path: true)
2018-05-23 23:32:49 +02:00
fill_in 'procedure_libelle', with: 'libelle de la procedure'
fill_in 'procedure_description_what', with: "description de l'objet de la procedure"
fill_in 'procedure_description_for_who', with: "description d'à qui s'adresse la procedure"
2018-05-23 23:32:49 +02:00
fill_in 'procedure_cadre_juridique', with: 'cadre juridique'
fill_in 'procedure_duree_conservation_dossiers_dans_ds', with: '3'
2018-05-23 23:32:49 +02:00
end
end