Ghost/core/test/integration/model
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
..
model_app_fields_spec.js Move Models module to have an init method that sets up all models 2014-08-18 15:54:10 -04:00
model_app_settings_spec.js Move Models module to have an init method that sets up all models 2014-08-18 15:54:10 -04:00
model_apps_spec.js Move Models module to have an init method that sets up all models 2014-08-18 15:54:10 -04:00
model_permissions_spec.js Move Models module to have an init method that sets up all models 2014-08-18 15:54:10 -04:00
model_posts_spec.js Move Models module to have an init method that sets up all models 2014-08-18 15:54:10 -04:00
model_roles_spec.js Move Models module to have an init method that sets up all models 2014-08-18 15:54:10 -04:00
model_settings_spec.js Move Models module to have an init method that sets up all models 2014-08-18 15:54:10 -04:00
model_tags_spec.js Move Models module to have an init method that sets up all models 2014-08-18 15:54:10 -04:00
model_users_spec.js Move Models module to have an init method that sets up all models 2014-08-18 15:54:10 -04:00