Ghost/core/test/integration
Hannah Wolfe 9309adc511 Exporter cleanup & tests
refs #6301

- change knex getter def to be configurable, else it is not testable
- remove exportPath and lang from config - neither are used
- add client_trusted_domains to tables which shouldn't be exported as there are no clients in the export
- change export signature to be an object with `doExport` function consistent with import & easier to test
- cleanup export code so it is clearer, easier to read & to test:
  - use mapSeries instead of sequence
  - use Promise.props instead of Promise.join
  - split functionality into smaller functions
- add test coverage
2016-03-12 19:01:25 +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 Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
migration_spec.js Refactor & test fixture migrations 2016-03-03 09:03:37 +00:00
update_check_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00