0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/test/unit/server_helpers
Katharina Irrgang be977a55cf 🎨 🚑 do not use testurl.com in tests (#8254)
no issue

- if we are using any random domain in our tests, it could be that the test behaviour changes over time
- in this case: the ghost_head_spec triggers a request for image diminsions (cover image, author image, blog logo)
- if the target blog url/domain can't be reached (connecting....), the timeout would be reached - but the test is not setup to handle longer waiting times
- even with https://github.com/TryGhost/Ghost/pull/8210/files, the default timeout would be 5s, which is not acceptable for a unit test
- that's why, we need to choose a blog url, which definitely is "down" - any long localhost port
2017-04-03 16:29:36 +01:00
..
test_tpl Fix @blog globals in special templates 2015-03-28 23:21:10 +02:00
asset_spec.js 🎨 🚑 do not use testurl.com in tests (#8254) 2017-04-03 16:29:36 +01:00
author_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
body_class_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
content_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
date_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
encode_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
excerpt_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
facebook_url_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
foreach_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
get_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
ghost_foot_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
ghost_head_spec.js 🎨 🚑 do not use testurl.com in tests (#8254) 2017-04-03 16:29:36 +01:00
has_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
image_spec.js 🎨 🚑 do not use testurl.com in tests (#8254) 2017-04-03 16:29:36 +01:00
is_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
meta_description_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
meta_title_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
navigation_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
next_post_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
page_url_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
pagination_spec.js 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01: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 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01: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 🎨 🚑 do not use testurl.com in tests (#8254) 2017-04-03 16:29:36 +01:00