Ghost/core/server/data
Hannah Wolfe 337713ce63 Refactor fixture use in tests
no issue

- Refactor all integration tests to specify and load ONLY the fixtures
  they require to run, rather than initialising the whole kit-and-kaboodle
  for every single test which takes FOREVER.
- Refactor the route tests to share a doAuth function, and also specify
  additional fixtures required
- Move import and export unit tests, which are actually integration tests
  (they touch the DB)
- Comment out most of the permissions unit tests for now as they need more
  stubs/mocks so as to not touch the DB

Still todo:

- prevent default DB initialisation in route tests, and specify all
  fixtures requires as per the integration tests
- fix up the unit/permissions_spec
2014-07-23 05:04:50 +01:00
..
export This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
fixtures Added /roles/ API endpoint 2014-07-21 15:02:25 +01:00
import Extending context concept to models 2014-07-18 15:32:56 +01:00
migration Refactor fixture use in tests 2014-07-23 05:04:50 +01:00
utils This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
validation This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
versioning This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
default-settings.json Add app permission checking to canThis 2014-04-16 18:06:39 +02:00
schema.js Author helpers 2014-07-20 17:57:59 +01:00