Ghost/core/test/unit/server_helpers
Aileen Nowak 19167c1af2 🐛 Fixed author helper not returning the correct url (#9102)
closes #9101

With 506a0c3e9e we don't expose the `status` field for author context anymore, which is used to determine the correct URL for the `{{url}}` helper in https://github.com/TryGhost/Ghost/blob/master/core/server/data/schema/checks.js#L13

This fix uses the field `profile_image` instead and adds a missing test for author context to the `{{url}}` helper test.
2017-10-05 13:50:55 +02:00
..
test_tpl Fix @blog globals in special templates 2015-03-28 23:21:10 +02:00
asset_spec.js 🐛 Blog icon improvements (#8298) 2017-04-10 12:04:46 +01:00
author_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
body_class_spec.js 🎨 settings inconsistency (#8381) 2017-04-24 18:41:00 +01:00
content_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
date_spec.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
encode_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
excerpt_spec.js 🐛 Fixed custom post excerpt length (#8826) 2017-08-02 15:09:12 +04:00
facebook_url_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
foreach_spec.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
get_spec.js 🐛 Added 409 DisabledFeatureError for labs features (#8890) 2017-08-15 10:50:36 +02:00
ghost_foot_spec.js 🐛 Fixed global and post code injection output (#8824) 2017-08-02 15:06:51 +04:00
ghost_head_spec.js Tests: Stub image request for dimensions (#8973) 2017-09-05 16:24:04 +01:00
has_spec.js Added any & all matching to {{#has}} helper 2017-08-22 11:21:47 +01:00
img_url_spec.js 🐛 Downgraded errors to warnings for img_url 2017-08-29 10:31:00 +02:00
is_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
meta_description_spec.js Custom Post Excerpt Feature (#8792) 2017-08-01 12:39:34 +04:00
meta_title_spec.js 🎨 Improved SEO meta titles for paginated archives (#8785) 2017-07-31 13:13:06 +04:00
navigation_spec.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
next_post_spec.js 🐛 Added error handling to prev/next post helpers 2017-08-29 10:31:00 +02:00
page_url_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
pagination_spec.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
plural_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
post_class_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
prev_post_spec.js 🔥 remove posts.markdown field (#8497) 2017-05-31 16:46:29 +02:00
tags_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
title_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
twitter_url_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
url_spec.js 🐛 Fixed author helper not returning the correct url (#9102) 2017-10-05 13:50:55 +02:00