Ghost/core/test/functional/routes/api
Fabian Becker b15f1daf5a Throw 405 - Method not allowed for api routes
closes #2757
- New error MethodNotAllowed
- Throw 405 if valid path but invalid method is used is apiRouter
- Adds api base tests
2015-06-15 09:43:39 +01:00
..
authentication_spec.js Make sure done() is called from before hooks 2015-06-09 22:46:26 -05:00
base_test.js Throw 405 - Method not allowed for api routes 2015-06-15 09:43:39 +01:00
db_spec.js Make sure done() is called from before hooks 2015-06-09 22:46:26 -05:00
error_spec.js Make sure done() is called from before hooks 2015-06-09 22:46:26 -05:00
notifications_spec.js Make sure done() is called from before hooks 2015-06-09 22:46:26 -05:00
posts_spec.js Make sure done() is called from before hooks 2015-06-09 22:46:26 -05:00
settings_spec.js Make sure done() is called from before hooks 2015-06-09 22:46:26 -05:00
slugs_spec.js Make sure done() is called from before hooks 2015-06-09 22:46:26 -05:00
tags_spec.js Make sure done() is called from before hooks 2015-06-09 22:46:26 -05:00
users_spec.js Make sure done() is called from before hooks 2015-06-09 22:46:26 -05:00