mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
fb549645f8
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 |
||
---|---|---|
.. | ||
authentication.js | ||
configuration.js | ||
invites.js | ||
posts.js | ||
roles.js | ||
settings.js | ||
slugs.js | ||
subscribers.js | ||
tags.js | ||
themes.js | ||
uploads.js | ||
users.js |