0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/test/unit
Hannah Wolfe a96a74c5a1 Improve code for handling fixture migrations
refs #6301, #4176

- always check existence of items before attempting to create them, in order to prevent duplicates
- provide stats on how many object creations are expected vs done
- split out and improve fixture utils tests (100% covers utils)
2016-04-10 19:02:22 +01:00
..
controllers/frontend Generate context from channelConfig, not URL 2016-03-20 12:59:25 +00:00
metadata Add structured data to static pages 2016-03-30 12:57:13 +01:00
middleware Add middleware for handling CORS 2016-03-31 10:58:52 -05:00
models_plugins Refactor content deletion 2016-03-22 10:10:09 -05:00
server_helpers Add structured data to static pages 2016-03-30 12:57:13 +01:00
api_utils_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
apps_filters_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
apps_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
config_spec.js Fix unit test bugs 2016-04-02 21:38:17 -05:00
error_handling_spec.js Fix unit test bugs 2016-04-02 21:38:17 -05:00
exporter_spec.js Remove should-sinon dependency 2016-03-14 16:52:22 +00:00
filters_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
ghost_url_spec.js ensure null query options don't break ghost-url 2016-02-29 00:25:38 -06:00
importer_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
mail_spec.js deps: bluebird@3.1.2 2016-03-01 14:47:23 -06:00
migration_fixture_spec.js Improve code for handling fixture migrations 2016-04-10 19:02:22 +01:00
migration_fixture_utils_spec.js Improve code for handling fixture migrations 2016-04-10 19:02:22 +01:00
migration_spec.js Improve fixtures & population code 2016-03-31 11:48:44 +01:00
permissions_spec.js Refactor content deletion 2016-03-22 10:10:09 -05:00
rss_spec.js Fix unit test bugs 2016-04-02 21:38:17 -05:00
server_helpers_index_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
server_helpers_template_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
server_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
server_utils_spec.js Replace internal tempfile name generator 2016-03-29 15:19:42 -05:00
showdown_client_integrated_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
sitemap_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
storage_local-file-store_spec.js Fix unit test bugs 2016-04-02 21:38:17 -05:00
utils_pipeline_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
versioning_spec.js Rewrite DB update to be explicit 2016-03-17 21:17:19 +00:00
xmlrpc_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00