fix filtering available creneaux in user RDV tunnel
Created by: adipasquale
- extract
Users::CreneauxSearch
object fromLieuxController
: not 100% necessary here, but it clears the way - introduce a very close singular
Users::CreneauSearch
to build a singleCrenau
instead of calling directlyCreneau.new
and checkingcreneau.available?
. This allows us to remove the some code in theCreneau
model, that was duplicated with the code inCreneauxBuilderFordateService
. - lieux controller specs refactored to limit testing surface : the used services are stubbed instead of being actually called.