Ghost/core/test/unit
cobbspur 5c12c78d00 added url handlebars helper
closes #528

- adds method (isPost)to models index.js that returns true if content, content_raw, title and slug are valid properties
- adds url helper which checks context is post using  isPost method
- adds unit test to check a url is prefixed with  /
-adds unit test which checks for empty string if either of the 4 properties above are not present.
2013-08-26 23:58:35 +01:00
..
fixtures Allow theme partials to override helper templates 2013-08-02 13:36:37 -05:00
api_permissions_spec.js Patch to prevent timeouts in unit tests 2013-08-24 16:07:15 -05:00
api_posts_spec.js Patch to prevent timeouts in unit tests 2013-08-24 16:07:15 -05:00
api_settings_spec.js Patch to prevent timeouts in unit tests 2013-08-24 16:07:15 -05:00
api_users_spec.js Agressive stripping of the model attributes 2013-08-25 18:12:27 +01:00
errorHandling_spec.js Added functional tests for Ghost Admin UI using Casperjs 2013-07-31 08:33:28 +01:00
export_spec.js Data models import, export, and reset for 002 2013-08-05 13:56:30 +01:00
frontend_ghostdown_spec.js Dropping !image[] & other regex fixes 2013-08-20 21:22:41 +01:00
frontend_helpers_index_spec.js added url handlebars helper 2013-08-26 23:58:35 +01:00
ghost_spec.js Initial Plugin API Implementation 2013-08-05 11:15:17 -05:00
helpers.js Patch to prevent timeouts in unit tests 2013-08-24 16:07:15 -05:00
import_spec.js Data models import, export, and reset for 002 2013-08-05 13:56:30 +01:00
permissions_spec.js Patch to prevent timeouts in unit tests 2013-08-24 16:07:15 -05:00
plugins_spec.js Patch to prevent timeouts in unit tests 2013-08-24 16:07:15 -05:00