0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/test/api-acceptance/admin
Hannah Wolfe 0f42bbeac3
Moved acceptance test utils into own file
- starting and stopping Ghost is part of our rather unloved acceptance test framework
- moving them into their own file to make the different pieces clearer and also to start to make improvements
- first improvement had to happen as an aside - exposing the existingData property via a function and making the API clearer
- this was a weird thing set on module.exports, very hidden and hard to follow
- Note: stopGhost is only used once in the regression/modles/model_posts_spec.js file to make the test run fast enough...
- These tests are effectively "DB integration" tests e.g. non-unit tests because they do use the DB, they need their own framework
2021-06-01 13:17:45 +01:00
..
actions_spec.js
actions_spec_v3.js
config_spec.js
db_spec.js Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
email_preview_spec.js Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
emails_spec.js
images_spec.js
integrations_spec.js
invites_spec.js Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
key_authentication_spec.js Blocked requests from integrations when integration limit is in place 2021-04-10 00:45:26 +12:00
key_authentication_spec_v3.js
labels_spec.js
labels_spec_v3.js
mail_spec.js
members_spec.js Replaced members 'comped' status with 'paid' 2021-05-19 18:49:18 +01:00
notifications_spec.js
oembed_spec.js
pages_spec.js Updated fixtures for Ghost v4.0 2021-03-10 17:37:16 +00:00
posts_spec.js Added "emails" limit check when (re)sending a newsletter 2021-05-03 17:51:33 +04:00
roles_spec.js
settings_spec.js Fixed __GHOST_URL__ appearing in settings values after edit (#12738) 2021-03-08 18:41:43 +00:00
slugs_spec.js
snippets_spec.js
tags_spec.js Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
themes_spec.js 🐛 Fixed @price template data to work with price helper (#12764) 2021-03-18 16:13:10 +00:00
users_spec.js Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
utils.js Removed comped flag from canary Members Admin API 2021-05-19 18:49:18 +01:00
webhooks_spec.js Added a better error when a user try to create an orphaned webhook 2021-03-23 17:15:21 +01:00