Tanguy PATTE
3c7d291c52
style check
2015-08-20 16:42:05 +02:00
Tanguy PATTE
5fea76bfef
style check
2015-08-20 16:41:15 +02:00
Tanguy PATTE
34c32a7dc5
style check
2015-08-20 16:40:34 +02:00
Tanguy PATTE
0a93b19efb
style check
2015-08-20 16:40:04 +02:00
Tanguy PATTE
152e7cd31e
style check
2015-08-20 16:39:36 +02:00
Tanguy PATTE
438151ded7
style check
2015-08-20 16:38:40 +02:00
Tanguy PATTE
66b751ff58
style check
2015-08-20 16:37:40 +02:00
Tanguy PATTE
c2f9963938
style check
2015-08-20 16:37:03 +02:00
Tanguy PATTE
49b1e49fd8
style check
2015-08-20 16:36:08 +02:00
Tanguy PATTE
b90dbb7c86
style check
2015-08-20 16:35:24 +02:00
Tanguy PATTE
756f5ffc50
style check
2015-08-20 16:34:47 +02:00
Tanguy PATTE
5cc8c58e05
style check
2015-08-20 16:34:14 +02:00
Tanguy PATTE
b0d7e490d6
style check
2015-08-20 16:33:21 +02:00
Tanguy PATTE
e7b45e6833
style check
2015-08-20 16:32:25 +02:00
Tanguy PATTE
8ee596e152
style check
2015-08-20 16:25:54 +02:00
Tanguy PATTE
78253e877b
remove useless variable
2015-08-20 16:11:18 +02:00
Tanguy PATTE
c3d360ae7e
style check
2015-08-20 16:07:18 +02:00
Tanguy PATTE
260a664738
clean views
2015-08-20 16:04:36 +02:00
Tanguy PATTE
a265f2e48a
refactor description controller
2015-08-20 15:15:20 +02:00
Tanguy PATTE
4f5587cb66
remove useless function in admin dossier controller and fix tests
2015-08-20 12:20:54 +02:00
Tanguy PATTE
92e522eb3d
delegate libelle do type piece jointe
2015-08-18 17:00:09 +02:00
Tanguy PATTE
bda3a410c4
add empty to piece_jointe
2015-08-18 16:51:57 +02:00
Tanguy PATTE
f49477dee7
add api_entreprise to piece_jointe
2015-08-18 16:44:16 +02:00
Tanguy PATTE
1f960a4b43
add fonction empty for cerfa
2015-08-18 16:30:57 +02:00
Tanguy PATTE
e2ff64a119
add comment
2015-08-18 16:30:36 +02:00
Tanguy PATTE
516cafc72a
build default pieces jointes when user choose formulaire
2015-08-18 15:15:34 +02:00
Tanguy PATTE
892484b494
build cerfa on create new dossier
2015-08-18 14:22:16 +02:00
Tanguy PATTE
8273438910
add cerfa model
2015-08-18 13:52:00 +02:00
Tanguy PATTE
0eb699d6b9
refactor description controller
2015-08-18 10:43:36 +02:00
Tanguy PATTE
67a4ff2519
refactor carte controller
2015-08-18 10:43:22 +02:00
Tanguy PATTE
ef69fa453c
refactor demandes controller
2015-08-17 17:08:13 +02:00
Tanguy PATTE
c38a9f4498
refactor dossiers controller
2015-08-17 16:27:21 +02:00
Tanguy PATTE
1e04916005
rename Api into API
...
change api error managment
refactor dossier controller
rewrite test for dossier controller
2015-08-17 15:53:35 +02:00
Tanguy PATTE
f28e3ccbd3
clean view
2015-08-17 13:31:51 +02:00
Tanguy PATTE
eef27af1f4
remove useless if
2015-08-17 12:01:48 +02:00
Tanguy PATTE
3a92e727ed
stop using get_liste_piece_jointe
2015-08-17 11:42:41 +02:00
Tanguy PATTE
bf0164b4c7
add test and fix association to piece jointe
2015-08-17 11:41:57 +02:00
Tanguy PATTE
e53c808b42
add test and fix association fo type piece jointe
2015-08-17 11:24:09 +02:00
Tanguy PATTE
ae3ffbd780
fix association for formulaire
2015-08-17 11:15:04 +02:00
Tanguy PATTE
27cfe498ab
add test for evenement vie and fix associations
2015-08-17 11:14:18 +02:00
Tanguy PATTE
b9a08f6422
add test for model dossier
2015-08-17 11:13:21 +02:00
Tanguy PATTE
a86ecb69de
use entreprise decorator
...
add test to entreprise decorator
refacto views
2015-08-14 18:07:40 +02:00
Tanguy PATTE
107b11d510
rename ref_demarche into demarche_id
...
fix association between formulaire and type_piece_jointe
fix association between formulaire and evenement_vie
2015-08-14 15:02:11 +02:00
Tanguy PATTE
c78a4f655b
rename ref_formulaire into formulaire
2015-08-14 14:05:09 +02:00
Tanguy PATTE
a807ba5ae9
rename ref piece jointe into type piece jointe
2015-08-14 12:06:26 +02:00
Tanguy PATTE
3c57643f76
add database cleaner
...
add factory girl
fix tests
rename dossier_pdf into piece_jointe
rename ref_piece_jointe into content
2015-08-13 15:56:58 +02:00
Tanguy PATTE
c16d7a12f2
stop loading everything and every language for bootstrap datepicker
2015-08-13 15:55:26 +02:00
Tanguy PATTE
b2853d909f
remove useless assets files
2015-08-13 15:55:26 +02:00
Xavier J
cfee2a6ddf
Revu de code de la partie "/dossiers/dossier_id:/carte" :
...
/app/controllers/carte_controller.rb
- l10/11 @dossier.update_attributes()
- l27 : le @dossier ne semble pas necessaire
- l32 : update attributes Ajouter :
def dossier_id params[:dossier_id] end
/spec/controllers/carte_controller_spec.rb
- l 11/16 : utiliser nouvelle syntaxe pour les hashs : get :show, dossier_id: dossier_id
- l32 bancal : Commentaire.last.id, en theorie tu n'as jamais besoin d'écrire de requête sql dans tes tests l36 subject { Commentaire.last }
- l64, le cas ou c'est en erreur n'est pas testé (le géocodeur renvoie nil)
2015-08-12 14:02:40 +02:00
Xavier J
6e2c0f733c
- Fix bug message erreur "Pas de dessin"
...
- Fix warning SIADETOKEN existant
2015-08-12 10:38:34 +02:00