Ghost/ghost/admin/mirage
Kevin Ansfield fb549645f8 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
..
config Fixed normalization of attrs in Mirage config and tests (#872) 2017-09-28 09:33:00 +07:00
factories 🎨 rename language to locale and use en as default locale (#721) 2017-05-31 16:01:46 +01:00
fixtures 🎨 Enabled Unsplash integration by default (#862) 2017-09-20 12:19:48 +02:00
models add dropdown filters for post type, author, and tag (#554) 2017-03-02 12:35:09 -06:00
scenarios deps: ember-cli-mirage@0.2.0 2017-01-13 15:59:37 +00:00
serializers Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
.eslintrc.js deps: ember-cli-mirage@0.2.0 2017-01-13 15:59:37 +00:00
config.js Fixed normalization of attrs in Mirage config and tests (#872) 2017-09-28 09:33:00 +07:00
utils.js New content screen prototype (#503) 2017-01-25 21:05:28 +01:00