0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00
ghost/core/test/integration
Hannah Wolfe 2cfee3812f Split migrations/index.js & add tests
refs #6301

- changes createTable to use createTableIfNotExists, this is consistent with deletion
- splits out backup, reset, update and populate functions from migration/index into their own files
- moves the wrapped function for populatingDefaultSettings to fixtures.ensureDefaultSettings
- moves `modelOptions` down to the fixture files that actually use it
- adds test coverage for backup, reset and populate, but not for update as that needs refactoring
2016-03-15 10:11:33 +00:00
..
api Refactor authentication API into pipeline format 2016-03-07 11:53:54 -06:00
model Merge pull request #6532 from jaswilli/issue-6491 2016-02-18 09:12:06 +00:00
export_spec.js Exporter cleanup & tests 2016-03-12 19:01:25 +00:00
import_spec.js Split migrations/index.js & add tests 2016-03-15 10:11:33 +00:00
migration_spec.js Split migrations/index.js & add tests 2016-03-15 10:11:33 +00:00
update_check_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00