1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/tests
Kevin Ansfield fb3dbbdff8 Fixed normalization of attrs in Mirage config and tests (#872)
no issue

We weren't being consistent in our use of Mirage's `normalizedRequestAttrs()` method which meant that in certain cases Mirage's internal database had duplicated attrs, the original set being `camelCase` and the new/updated set being `underscore_case` which was not only confusing but can lead to errors or unexpected behaviour in tests.

- updated Mirage config to always normalize where necessary
- updated tests to always use `camelCase` attrs
- added `HEAD` route handler for gravatar to avoid unknown route noise in tests
2017-09-28 09:33:00 +07:00
..
acceptance Fixed normalization of attrs in Mirage config and tests (#872) 2017-09-28 09:33:00 +07:00
helpers Removed defunct Ghost OAuth code (#848) 2017-09-04 21:17:04 +02:00
integration Upload/Download redirects UI 2017-09-21 17:01:40 +02:00
unit Fixed missing Unsplash icons when API doesn't return an unsplash setting (#865) 2017-09-21 11:13:31 +02:00
.eslintrc.js new publish menu and date/time picker (#588) 2017-04-11 14:39:45 +01:00
index.html Fetch config from endpoint rather than meta tags (#368) 2016-10-28 14:07:50 +01:00
test-helper.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00