mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +03:00
9ff8d7f910
refs https://github.com/TryGhost/Team/issues/1367 Because we are passing through a different member object as the context in the get helper, the content gating was not working correctly, as the member was missing a status property, this adds the property which fixes content gating. - Added extra tests for get helper {{access}} property - Added extra test for {{access}} property in next_post helper - In the future we might want to update the tests so they test the whole request -> HBS context flow. Currently the has context is still stubbed manually. |
||
---|---|---|
.. | ||
helpers | ||
advanced_url_config.test.js | ||
custom_routes.test.js | ||
default_routes.test.js | ||
email_routes.test.js | ||
members.test.js | ||
preview_routes.test.js |