mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
f280fbcaaf
refs #9043 - this is preparation for adding Author-specific tests later - the changes the posts_spec.js, so that all the tests are inside an "As Owner" describe block, similar to the users_spec.js - Added new util for creating a specific post - This will make it easier to do routing tests on the post model in future - Our `index.js` file in test/utils really needs a bit of love 🙈 - Also added all the framework for author role tests in post_spec.js - Added a single test, showing we can edit posts, including author_id |
||
---|---|---|
.. | ||
client@90706d0b38 | ||
server | ||
test | ||
index.js |