mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
0f42bbeac3
- 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 |
||
---|---|---|
.. | ||
fixtures | ||
mocks | ||
acceptance-utils.js | ||
api.js | ||
assertions.js | ||
configUtils.js | ||
db-utils.js | ||
fixture-utils.js | ||
index.js | ||
old-integration-utils.js | ||
redirects.js | ||
url-service-utils.js | ||
urlUtils.js |