Ghost/core/test/unit
Eugene Kulabuhov 0e2709c42f [API] Retrieve next and previous post
closes #4262
- implementation based on #1545
- added integration test. Modified mocked posts because code requires published_at timestamps to be different.
- fixed 2 broken tests that depended on mocked posts to have "new Date()" as their timestamps
- added checks to only query db if next/previous post requested
2015-01-13 12:49:16 +00:00
..
server_helpers Change url and image into synchronous helpers 2014-12-29 18:44:15 +00:00
apps_spec.js Add jscs task to grunt file and clean up files to adhere to jscs rules. 2014-09-17 21:44:29 -04:00
config_spec.js [API] Retrieve next and previous post 2015-01-13 12:49:16 +00:00
error_handling_spec.js Deprecated mail.fromaddress, mail.from is Title <email@address> 2014-09-23 09:33:20 +01:00
filters_spec.js Add jscs task to grunt file and clean up files to adhere to jscs rules. 2014-09-17 21:44:29 -04:00
frontend_spec.js Add support for importing images 2014-12-21 01:58:35 +00:00
importer_spec.js Merge pull request #4759 from ErisDS/importer-test-fix 2015-01-05 16:25:35 -06:00
mail_spec.js Deprecated mail.fromaddress, mail.from is Title <email@address> 2014-09-23 09:33:20 +01:00
middleware_spec.js Naming cleanup 2014-09-20 21:09:16 +02:00
migration_spec.js Add tests to verify db version hasn't changed 2014-12-20 10:24:20 +00:00
permissions_spec.js Add jscs task to grunt file and clean up files to adhere to jscs rules. 2014-09-17 21:44:29 -04:00
server_helpers_index_spec.js Cleans up HTML data attributes on body in default.hbs 2014-11-29 17:09:43 +01:00
server_helpers_template_spec.js Add jscs task to grunt file and clean up files to adhere to jscs rules. 2014-09-17 21:44:29 -04:00
server_spec.js Add jscs task to grunt file and clean up files to adhere to jscs rules. 2014-09-17 21:44:29 -04:00
showdown_client_integrated_spec.js Adds markdown highlight support 2014-12-04 13:37:29 +00:00
showdown_footnotes_spec.js Add reentrant conversion to Showdown footnotes. 2014-12-30 05:32:03 -05:00
showdown_ghostGFM_spec.js Change autolinked URLs to output nice quotes 2014-10-14 11:09:06 +02:00
showdown_ghostimagepreview_spec.js Add jscs task to grunt file and clean up files to adhere to jscs rules. 2014-09-17 21:44:29 -04:00
showdown_highlight_spec.js Adds markdown highlight support 2014-12-04 13:37:29 +00:00
storage_local-file-store_spec.js Naming cleanup 2014-09-20 21:09:16 +02:00
xmlrpc_spec.js Return computed url with post object 2014-12-10 17:23:02 +00:00