0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/core/test/functional/routes/api
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
..
authentication_spec.js 🐛 Fix error message for login when password wrong (#8594) 2017-06-19 10:37:58 +02:00
configuration_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
db_spec.js Tests: Sort out usage of content folder in tests (#9034) 2017-09-21 15:05:35 +01:00
error_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
notifications_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
posts_spec.js 📖 new default post content (#8548) 2017-06-08 16:36:14 +01:00
public_api_spec.js 🐛 Fixed public api access on custom domain 2017-09-14 07:55:14 +07:00
settings_spec.js 🎨 Enabled Unsplash by default 2017-09-20 11:44:47 +01:00
slugs_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
spam_prevention_spec.js 🐛 Fix error message for login when password wrong (#8594) 2017-06-19 10:37:58 +02:00
tags_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
themes_spec.js 🎨 gscan 1.1.0 & optimisations 2017-06-06 13:07:50 +07:00
upload_icon_spec.js 🎨 Blog icon improvements (#8260) 2017-04-11 13:40:17 +02:00
upload_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
users_spec.js 🐛 fix unknown user id on deactivated event 2017-07-18 18:20:10 +01:00