mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
refs https://github.com/TryGhost/Casper/pull/741 closes https://github.com/TryGhost/Team/issues/524 - Use a local-based format as the default format as suggested in https://github.com/TryGhost/Casper/pull/741 - reworked the helper to be easier to read and follow the different use cases - introduced setting and resetting locale in tests via settingsCache and themei18n - updated tests to cover more cases e.g. passing a date, this.published_at and no date - added validation for user inputted dates because they could literally be anything Co-authored-by: Hannah Wolfe <erisds@gmail.com> |
||
---|---|---|
.. | ||
test_tpl | ||
asset_spec.js | ||
author_spec.js | ||
authors_spec.js | ||
body_class_spec.js | ||
cancel_link_spec.js | ||
concat_spec.js | ||
content_spec.js | ||
date_spec.js | ||
encode_spec.js | ||
excerpt_spec.js | ||
facebook_url_spec.js | ||
foreach_spec.js | ||
get_spec.js | ||
ghost_foot_spec.js | ||
ghost_head_spec.js | ||
has_spec.js | ||
img_url_spec.js | ||
is_spec.js | ||
lang_spec.js | ||
link_class_spec.js | ||
link_spec.js | ||
meta_description_spec.js | ||
meta_title_spec.js | ||
navigation_spec.js | ||
next_post_spec.js | ||
page_url_spec.js | ||
pagination_spec.js | ||
plural_spec.js | ||
post_class_spec.js | ||
prev_post_spec.js | ||
price_spec.js | ||
raw_spec.js | ||
reading_time_spec.js | ||
t_spec.js | ||
tags_spec.js | ||
title_spec.js | ||
twitter_url_spec.js | ||
url_spec.js |