0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit/helpers
Naz Gargol abda6e6338
Migrated to use url-utils from Ghost-SDK (#10787)
closes #10773

- The refactoring is a substitute for `urlService.utils` used previously throughout the codebase and now extracted into the separate module in Ghost-SDK
- Added url-utils stubbing utility for test suites
- Some tests had to be refactored to avoid double mocks (when url's are being reset inside of rested 'describe' groups)
2019-06-18 15:13:55 +02:00
..
test_tpl Attr pass-thru & full context in partial helpers 2019-03-09 21:21:01 +00:00
asset_spec.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
author_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
authors_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
body_class_spec.js 🐛 Fixed {{body_class}} helper when using data: page.{slug} in routes 2019-03-12 12:34:16 +01:00
content_spec.js Added tests for null values in content/excerpt helpers 2019-03-18 19:52:49 +08:00
date_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
encode_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
excerpt_spec.js Added tests for null values in content/excerpt helpers 2019-03-18 19:52:49 +08:00
facebook_url_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
foreach_spec.js Moved visibility utility from static model fn to Ghost-SDK 2019-06-09 13:12:04 +05:30
get_spec.js Renamed authors ctrl to authors-public 2019-02-26 08:33:10 +01:00
ghost_foot_spec.js Removed use of filters module 2019-04-16 11:05:33 +02:00
ghost_head_spec.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
has_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
img_url_spec.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
index_spec.js 🎨 Added additional parameters to subscribe_form and input_email helpers (#9820) 2018-08-30 17:17:27 +01:00
is_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
lang_spec.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
meta_description_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
meta_title_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
navigation_spec.js Attr pass-thru & full context in partial helpers 2019-03-09 21:21:01 +00:00
next_post_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
page_url_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
pagination_spec.js Attr pass-thru & full context in partial helpers 2019-03-09 21:21:01 +00:00
plural_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
post_class_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
prev_post_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
reading_time_spec.js Changes for Koenig and Ghost 2.0 (#9750) 2018-08-16 12:13:24 +02:00
t_spec.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
tags_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
template_spec.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
title_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
twitter_url_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
url_spec.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
utils_spec.js Updated to use count words/images helpers from SDK (#10686) 2019-04-16 08:00:01 +05:30