Fix user brouillon spec

This commit is contained in:
Paul Chavard 2019-12-18 17:10:26 +01:00
parent 4bbd16576b
commit ff46ee366e
3 changed files with 46 additions and 10 deletions

View file

@ -393,6 +393,14 @@ Rails.application.routes.draw do
end
end
if Rails.env.test?
scope 'test/api_geo' do
get 'regions' => 'api_geo_test#regions'
get 'communes' => 'api_geo_test#communes'
get 'departements' => 'api_geo_test#departements'
end
end
#
# Legacy routes
#