Update specs

This commit is contained in:
Paul Chavard 2020-10-07 17:44:21 +02:00
parent 8a2f079acb
commit 653270d02f
2 changed files with 18 additions and 15 deletions

View file

@ -8,6 +8,6 @@ class APIGeoTestController < ActionController::Base
end
def communes
render json: [{ nom: 'Ambléon' }]
render json: [{ nom: 'Ambléon', code: '01006', codesPostaux: ['01300'] }]
end
end