Ghost/core/test/unit/utils
Katharina Irrgang 0fbf5e12b8 Tests: Sort out usage of content folder in tests (#9034)
no issue

- use latest casper in test fixtures
- never ever use the root content folder for tests
- if we start/fork Ghost for the tests, we use a tmp folder
- this change is required to for an upcoming PR (#9029)
- i've added a TODO to create a helper fn for stopping the ghost server, so we can cleanup the tmp folder

* Care about TODO's in our channels spec

- add the 1.4 compatible casper theme to fixtures
- so as soon as you start Ghost, the test env will provide the content folder in /tmp something with the activated latest default casper and the 1.4 compatible old casper
- there are tests which tests different logici e.g. pagination
- therefor we need a different theme, we are simply using our 1.4 casper
2017-09-21 15:05:35 +01:00
..
blog-icon_spec.js Refactor: fetch image dimensions from local file storage (#8900) 2017-09-05 14:13:22 +02:00
cached-image-size-from-url_spec.js 🐛 Fix invalid image URLs not being cached and causing timeouts (#8986) 2017-09-12 12:53:18 +01:00
image-size_spec.js 🐛 Fix invalid image URLs not being cached and causing timeouts (#8986) 2017-09-12 12:53:18 +01:00
make-absolute-urls_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
mobiledoc-converter_spec.js replace custom showdown fork with markdown-it (#8451) 2017-05-15 18:48:14 +02:00
packages_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
read-csv_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
request_spec.js Request util to wrap got library (#8980) 2017-09-07 12:17:24 +01:00
tokens_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
url_spec.js 🐛 Fixed api url for the ghost sdk (#9013) 2017-09-18 16:28:22 +01:00
zip-folder_spec.js Tests: Sort out usage of content folder in tests (#9034) 2017-09-21 15:05:35 +01:00