0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/test/integration/api
Harry Wolff 5ff2a31ce1 Move Models module to have an init method that sets up all models
resolves #2170

- creates a models.init() function that requires all other model files
and caches them.  This is opposed to the previous functionality where
when you require('./models') it would immediately require all other models.
Now it's done when you want.

- Updates all tests to reflect the new structure of the model module
2014-08-18 15:54:10 -04:00
..
api_authentication_spec.js Improve settings error handling 2014-08-06 09:11:50 +01:00
api_db_spec.js Move Models module to have an init method that sets up all models 2014-08-18 15:54:10 -04:00
api_mail_spec.js Refactor fixture use in tests 2014-07-23 05:04:50 +01:00
api_notifications_spec.js Refactor fixture use in tests 2014-07-23 05:04:50 +01:00
api_posts_spec.js Fix failure in Post API tests. 2014-08-01 17:55:27 +00:00
api_roles_spec.js Adding role API tests & fixing browse 2014-07-28 07:22:06 +01:00
api_settings_spec.js Refactor fixture use in tests 2014-07-23 05:04:50 +01:00
api_slugs_spec.js Refactor fixture use in tests 2014-07-23 05:04:50 +01:00
api_tags_spec.js Refactor fixture use in tests 2014-07-23 05:04:50 +01:00
api_themes_spec.js Refactor fixture use in tests 2014-07-23 05:04:50 +01:00
api_upload_spec.js Integration tests use consistent teardown methods 2014-07-21 13:25:51 +01:00
api_users_spec.js Move Models module to have an init method that sets up all models 2014-08-18 15:54:10 -04:00