0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/test/unit
Hannah Wolfe 9030620b23 Ensure fixture operations only run if needed
refs #6301

- Make sure that every fixture operation has a check to ensure that it hasn't already run
- E.g. The update of sort_order on posts_tags should only happen if there are no values which aren't a zero
  - This makes sure that we don't accidentally overwrite data on FORCE_MIGRATE
- No need to try to set settings types if they are already correct
- Only update the admin client if it needs it, else we're regenerating secrets each time
2016-03-21 18:15:01 +00:00
..
controllers/frontend Generate context from channelConfig, not URL 2016-03-20 12:59:25 +00:00
metadata Clean up paginated URL generation 2016-03-20 22:35:00 +00:00
middleware Remove should-sinon dependency 2016-03-14 16:52:22 +00:00
models_plugins Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
server_helpers Merge pull request #6616 from ErisDS/meta-schema-fix 2016-03-21 10:22:06 +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 Exporter cleanup & tests 2016-03-12 19:01:25 +00:00
error_handling_spec.js Merge pull request #6507 from cameronviner/6505 2016-02-18 07:44:23 +00: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 Ensure fixture operations only run if needed 2016-03-21 18:15:01 +00:00
migration_spec.js Rewrite DB update to be explicit 2016-03-17 21:17:19 +00:00
permissions_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
rss_spec.js Merge pull request #6507 from cameronviner/6505 2016-02-18 07:44:23 +00: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 Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00: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 Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00: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