demarches-normaliennes/spec/controllers
Pierre de La Morinerie 151e5744e6 contact: rewrite specs to use finer-grained mocks
Before the specs mocked entire controller methods–which caused them
not to be tested.

Now we use finer mocks (or no mocks at all), to actually run more code.
2019-01-22 16:12:13 +01:00
..
admin Fix tests 2019-01-17 14:04:59 +01:00
administrateur Session: add trusted_device cookie 2018-11-13 10:41:45 +01:00
administrations Remove old controller and templates 2018-01-17 18:04:23 +01:00
api/v1 Simplify API carte serializer 2018-11-27 16:11:25 +01:00
champs More tests and fixes on carte champ 2018-11-30 13:28:30 +01:00
concerns commencer: redirect to the procedure page after sign-in and sign-up 2019-01-21 14:45:38 +01:00
devise sign_in: extract the procedure context to a ProcedureContextConcern 2019-01-17 11:07:09 +01:00
france_connect fix spec 2018-10-26 10:10:20 +00:00
gestionnaires Spec Factory: an administrateur always has a gestionnaire 2019-01-09 13:49:47 +01:00
manager Enable the Layout/SpaceBeforeBlockBraces cop 2019-01-03 10:53:50 +01:00
new_administrateur Enable the Layout/SpaceBeforeBlockBraces cop 2019-01-03 10:53:50 +01:00
new_gestionnaire Enable the Layout/SpaceBeforeBlockBraces cop 2019-01-03 10:53:50 +01:00
new_user commencer: redirect to the procedure page after sign-in and sign-up 2019-01-21 14:45:38 +01:00
sessions describe '#method' rather than describe '.method' for instance methods 2018-03-20 16:00:30 +01:00
users commencer: redirect to the procedure page after sign-in and sign-up 2019-01-21 14:45:38 +01:00
address_controller_spec.rb AddressController#get → #suggestions 2018-10-16 09:38:53 +02:00
api_controller_spec.rb ApiController: check token validity for a given admin 2018-09-27 10:24:56 +02:00
application_controller_spec.rb Enable the Layout/SpaceBeforeBlockBraces cop 2019-01-03 10:53:50 +01:00
invites_controller_spec.rb sessions: add a helper to clear the stored return path 2019-01-17 10:48:54 +01:00
ping_controller_spec.rb Enable the Layout/EmptyLinesAroundBlockBody cop 2017-06-13 10:35:23 +02:00
root_controller_spec.rb dossiers: change all links to use the new user dossiers list 2018-07-02 13:58:58 +02:00
stats_controller_spec.rb stats: use group_by_week to compute the week range 2019-01-10 16:17:00 +01:00
support_controller_spec.rb contact: rewrite specs to use finer-grained mocks 2019-01-22 16:12:13 +01:00