Update specs
This commit is contained in:
parent
8a2f079acb
commit
653270d02f
2 changed files with 18 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue