|
|
@ -80,12 +80,15 @@ module.exports = MockBase => class MockRivers extends MockBase { |
|
|
|
route: '/rivers', |
|
|
|
responses: [ |
|
|
|
{ |
|
|
|
response: { type: 'json', body: [ |
|
|
|
{ name: 'Volga', drainsInto: 'Caspian Sea' }, |
|
|
|
{ name: 'Danube', drainsInto: 'Black Sea' }, |
|
|
|
{ name: 'Ural', drainsInto: 'Caspian Sea' }, |
|
|
|
{ name: 'Dnieper', drainsInto: 'Black Sea' } |
|
|
|
]} |
|
|
|
response: { |
|
|
|
type: 'json', |
|
|
|
body: [ |
|
|
|
{ name: 'Volga', drainsInto: 'Caspian Sea' }, |
|
|
|
{ name: 'Danube', drainsInto: 'Black Sea' }, |
|
|
|
{ name: 'Ural', drainsInto: 'Caspian Sea' }, |
|
|
|
{ name: 'Dnieper', drainsInto: 'Black Sea' } |
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|