mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
2c96df42ac
closes https://github.com/TryGhost/Team/issues/466 - upgraded kg-default-cards to include paywall card - extracted `htmlToPlaintext` from post model to shared util for re-use - updated post-gating to set html+plaintext to the free preview if a paywall card has been used - re-generates plaintext from the truncated html using `htmlToPlaintext` util - display free content in the `{{content}}` helper via the default CTA template |
||
---|---|---|
.. | ||
api | ||
exporter | ||
importer | ||
migrations | ||
models | ||
settings | ||
site | ||
update-check | ||
README.md |
Regression Tests
These tests should ensure that we don't break Ghost for all available APIs.
The goal is that most of these packages use Ghost's API's to test behaviours, otherwise transform the tests into unit tests.