demarches-normaliennes/spec/models
2024-06-11 16:05:45 +02:00
..
champs refactor(export): improuve specs 2024-04-24 13:27:20 +02:00
concerns feat(champ): add updated_by column 2024-06-03 18:45:16 +02:00
logic tech(clean): simplify implementation of eligibilite rules, code, enhance wording and test coverage 2024-06-11 09:57:36 +02:00
types_de_champ feat(champ): expose paths 2024-04-04 16:13:23 +02:00
administrateur_spec.rb clean(administrateur): remove dead code 2024-03-21 14:27:53 +01:00
api_entreprise_token_spec.rb test: ensure travel_back is automatically called at the right time 2023-06-20 00:04:55 +02:00
api_token_spec.rb add various expiring scopes to APIToken 2024-01-26 10:15:37 +01:00
archive_spec.rb fix(archives): purge stuck pending archives 2022-07-27 15:26:59 +02:00
assign_to_spec.rb chore(create_procedure_presentation): homogénéise l'interface sur les procédure présentation. pas d'objet 'build', sinon les export/filtres deviennent compliqués 2022-10-31 09:29:27 +01:00
attestation_template_spec.rb feat(attestation): replace tags in preview for v2 2024-02-01 18:55:50 +01:00
avis_spec.rb review(suggestion): better code with reviews, normalize Champs::EmailChamp.value, simplier default strict validation activation 2024-02-15 16:41:00 +01:00
batch_operation_spec.rb fix(spec): maj broken spec on main 2024-05-31 08:24:55 +02:00
bill_signature_spec.rb fix(spec): update spec with new timestamp 2022-12-07 19:28:01 +01:00
champ_private_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
champ_shared_example.rb Make date and datetime prefillable (#8304) 2023-01-12 17:42:02 +01:00
champ_spec.rb fix(champs.pj.clone): stop cloning private piece_justificative_file when user clone his dossier 2024-05-21 09:50:27 +02:00
chorus_configuration_spec.rb review(tech): utilise un code unique pr les elements de l'autocomplete, corrections de typos, amelioration du code 2023-11-09 11:10:17 +01:00
commentaire_groupe_gestionnaire_spec.rb feat: answer message to administrateur as gestionnaire 2024-01-22 14:36:38 +01:00
commentaire_spec.rb fix(messages): retry stale blobs 2022-11-02 09:19:51 +01:00
condition_form_spec.rb fix(conditional): only parse user input as int if compared with a number 2022-09-09 11:28:32 +02:00
contact_information_spec.rb add contact information model 2023-09-08 11:04:06 +02:00
deleted_dossier_spec.rb specs: remove unused require 2021-03-25 13:24:53 +01:00
dossier_assignment_spec.rb chore(feature flag): remove routing_rules flag call 2023-11-14 17:02:39 +01:00
dossier_preloader_spec.rb chore(dossier): remove legacy update attributes 2024-05-27 10:33:37 +02:00
dossier_spec.rb clean(spec): speed, avoid using with_all_champs factory. takes too much time when not needed 2024-06-04 15:34:34 +02:00
dossier_transfer_spec.rb fix(dossier_transfer): requires an actual email 2022-08-03 11:44:54 +02:00
dubious_procedure_spec.rb fix(spec): fix dubious procedure spec 2022-10-11 11:50:41 +02:00
email_event_spec.rb refactor(email): remove pseudonymization, it will be done at dump-time 2023-01-10 16:07:35 +01:00
engagement_juridique_champ_spec.rb fix(Champs::EngagementJuridiqueChamp): validates Champs::EngagementJuridiqueChamp respecting it's validation context. 2024-04-01 07:18:14 +02:00
etablissement_spec.rb refactor(search): rename update search terms => index search terms 2024-05-06 18:57:39 +02:00
exercice_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
expert_spec.rb fix: allow unsigned expert when restricted list 2024-04-19 13:03:09 +02:00
experts_procedure_spec.rb experts_procedure should not be optional 2021-03-23 13:46:33 +01:00
export_spec.rb generate export with export_template 2024-05-23 10:00:34 +02:00
export_template_spec.rb convert date with dash for export renaming 2024-06-04 10:32:14 +02:00
follow_commentaire_groupe_gestionnaire_spec.rb feat: for gestionnaire highlight card and commentaires if any unread 2024-01-29 18:23:39 +01:00
france_connect_information_spec.rb Feat(user): set email_verified_at when setting confirmed_at 2024-05-27 17:24:56 +02:00
france_connect_particulier_client_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
geo_area_spec.rb feat(champ): validate GeoJSON 2023-07-18 18:01:29 +02:00
gestionnaire_spec.rb feat: notify administrateur and gestionnaire by email when new commentaire + for administrateur highlight card and commentaires if any unread 2024-02-02 12:52:36 +01:00
groupe_gestionnaire_spec.rb feat: for gestionnaire highlight card and commentaires if any unread 2024-01-29 18:23:39 +01:00
groupe_instructeur_spec.rb fix(groupe instructeur): add a dependent destroy on contact information 2024-03-07 16:33:17 +01:00
individual_spec.rb refactor(search): rename update search terms => index search terms 2024-05-06 18:57:39 +02:00
instructeur_spec.rb refactor(export/archives): holds user profile asking for the archive or export 2024-02-16 11:23:38 +01:00
invite_spec.rb feat(email.validation): expand email validation to Avis, ContactInformation, Invite, DossierTransfert 2024-02-15 16:41:00 +01:00
logic_spec.rb compatibility from left 2022-09-28 10:06:31 +02:00
mail_template_spec.rb amelioration(attestion.et.mail): deduplique les message d'erreur, améliore les messages d'erreur, gère la pluralisation des erreurs lorsque plusieurs tags sont concernés 2022-12-19 09:28:46 +01:00
map_filter_spec.rb fix(carte): gracefully ignore invalid year and kind params 2024-05-16 16:58:42 +02:00
prefill_champs_spec.rb Workable draft prefill identity (no link or query help) 2023-09-07 10:17:19 +02:00
prefill_description_spec.rb refactor(spec): stop using procedure type de champs traits as :with_datetime, :with_xxx in favor of :types_de_champ_public which keeps position in check 2024-01-23 17:30:22 +01:00
prefill_identity_spec.rb Add tests for prefill identity 2023-09-07 10:17:19 +02:00
procedure_overview_spec.rb fix(tests): create groupe instructeurs with factory 2023-07-03 14:47:56 +02:00
procedure_presentation_and_revisions_spec.rb refactor(spec): stop using procedure type de champs traits as :with_datetime, :with_xxx in favor of :types_de_champ_public which keeps position in check 2024-01-23 17:30:22 +01:00
procedure_presentation_spec.rb refactor(spec): stop using procedure type de champs traits as :with_datetime, :with_xxx in favor of :types_de_champ_public which keeps position in check 2024-01-23 17:30:22 +01:00
procedure_revision_preloader_spec.rb perf(ProcedureRevisionPreloader): preload revision quickly 2024-01-26 14:47:44 +01:00
procedure_revision_spec.rb feat(ProcedureRevision.ineligibilites_rules): keep track of changes and show it to admin for republication 2024-06-11 09:32:53 +02:00
procedure_revision_type_de_champ_spec.rb feat(conditional): annotations can be conditioned by champs 2023-11-03 10:45:07 +00:00
procedure_spec.rb bug(draft_types_de_champ_private.condition): condition must be validated with upper_tdcs. considering that types_de_champ_private can have a condition using a types_de_champ_public, we have to include all types_de_champs_public plus only types_de_champs_private.upper_tdcs 2024-06-11 16:05:45 +02:00
routing_engine_spec.rb chore(logic): commune and epci champs are always compute with compute_value_json 2023-12-22 10:57:53 +01:00
service_spec.rb refactor(service): explicit call to service job to avoid test side effect 2022-10-25 14:44:43 +02:00
siret_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
stat_spec.rb fix(stats): more accurat stats about deleted dossiers 2024-04-04 19:00:48 +02:00
super_admin_spec.rb test(super-admin): more explicit disable otp test 2023-05-03 11:37:28 +02:00
sva_svr_configuration_spec.rb feat(admin): config sva/svr 2023-07-11 10:01:45 +02:00
targeted_user_link_spec.rb feat(invite): wrap invitation with targeted_user_links 2022-06-17 16:44:37 +02:00
trusted_device_token_spec.rb models: require belong_to associations on trusted_device_token 2020-08-18 15:57:37 +02:00
type_de_champ_private_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
type_de_champ_shared_example.rb feat(EditComponent): add max_file_size and content_types to upload buttons inspired by dsfr 2022-06-28 17:44:35 +02:00
type_de_champ_spec.rb fix multiple error message on regexp 2024-03-11 11:41:31 +01:00
user_spec.rb Feat(user): set email_verified_at when setting confirmed_at 2024-05-27 17:24:56 +02:00
zone_spec.rb test: fix flaky match_array test 2024-02-15 11:00:53 +01:00