Ghost/core/test/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
..
fixtures Tests: Sort out usage of content folder in tests (#9034) 2017-09-21 15:05:35 +01:00
mocks improvement: add mocks helper module for test env 2016-06-10 09:23:00 +02:00
api.js Primary tag (#8669) 2017-07-31 13:00:03 +04:00
assertions.js 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
configUtils.js 🔥 remove forceAdminSSL and urlSSL, add admin url (#7937) 2017-02-03 18:13:22 +00:00
fork.js Tests: Sort out usage of content folder in tests (#9034) 2017-09-21 15:05:35 +01:00
index.js Tests: Sort out usage of content folder in tests (#9034) 2017-09-21 15:05:35 +01:00