0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/core/test/functional/routes/api
Hannah Wolfe 9f9d8b2fec Always use our redirects utility (#9132)
no issue

- This started as an attempt to simplify the admin redirect code
- I realised we were sometimes using utils.redirect301 and sometimes not
- Decided to move this into utils.url as it's more relevant to URL generation
- Unified usage of redirects in the codebase
- Updated tests & ensured we have basic coverage
- rename adminRedirect -> redirectToAdmin
- Tweak method signature, fix channel edit redirects
- Tests: Optimised test descriptions for url-redirects_spec.js
- ensure caching works as expected
2017-10-12 14:36:50 +02:00
..
authentication_spec.js 🐛 Fix error message for login when password wrong (#8594) 2017-06-19 10:37:58 +02:00
configuration_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
db_spec.js Tests: Sort out usage of content folder in tests (#9034) 2017-09-21 15:05:35 +01:00
error_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
notifications_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
posts_spec.js Custom post templates (#9073) 2017-10-10 13:36:35 +01:00
public_api_spec.js Always use our redirects utility (#9132) 2017-10-12 14:36:50 +02:00
redirects_spec.js 🐛 Fixed missing cache invalidation header when uploading redirects (#9071) 2017-09-27 18:58:33 +01:00
settings_spec.js 🎨 Enabled Unsplash by default 2017-09-20 11:44:47 +01:00
slugs_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
spam_prevention_spec.js 🐛 Fix error message for login when password wrong (#8594) 2017-06-19 10:37:58 +02:00
tags_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
themes_spec.js Custom post templates (#9073) 2017-10-10 13:36:35 +01:00
upload_icon_spec.js 🎨 Blog icon improvements (#8260) 2017-04-11 13:40:17 +02:00
upload_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
users_spec.js 🎨 User is not allowed to add/modify certain fields (#9053) 2017-09-28 13:59:42 +01:00