mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
5c12c78d00
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. |
||
---|---|---|
.. | ||
functional | ||
html | ||
unit |