Add acceptance tests for RedirectManager

This commit is contained in:
James Allen
2018-09-17 15:38:58 +01:00
parent 40f08d1592
commit 83a1039b7e
2 changed files with 42 additions and 0 deletions
@@ -108,3 +108,17 @@ module.exports =
overleaf:
host: "http://overleaf.test:5000"
redirects:
'/redirect/one': '/destination/one',
'/redirect/post': {
method: 'post',
url: '/destination/post'
},
'/redirect/base_url': {
baseUrl: 'https://example.com'
url: '/destination/base_url'
},
'/redirect/params/:id': {
url: (params) -> "/destination/#{params.id}/params"
}