Ghost/ghost/admin/tests/unit
Kevin Ansfield 6a9239974f Fixed missing Unsplash icons when API doesn't return an unsplash setting (#865)
closes https://github.com/TryGhost/Ghost/issues/9031

- add a default value `unsplash` value to the `setting` model so that Unsplash is activated when the server doesn't return an `unsplash` setting
- update the `unsplash-settings` transform to always deserialize or serialize to `{isActive: true}` when the value is blank or not parsable
- add acceptance regression test covering API not returning an `unplash` setting
- add unit tests for the `unsplash-settings` transform
2017-09-21 11:13:31 +02:00
..
components Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
controllers Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
helpers Upgrade eslint dependencies (#855) 2017-09-11 14:56:11 +07:00
mixins Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
models Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
routes 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
serializers Unsplash integration 2017-08-15 16:01:12 +01:00
services 🎨 Enabled Unsplash integration by default (#862) 2017-09-20 12:19:48 +02:00
transforms Fixed missing Unsplash icons when API doesn't return an unsplash setting (#865) 2017-09-21 11:13:31 +02:00
utils new publish menu and date/time picker (#588) 2017-04-11 14:39:45 +01:00
validators Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
.gitkeep