• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TryGhost / Ghost / 9987
73%
master: 20%

Build:
Build:
LAST BUILD BRANCH: mailchimp
DEFAULT BRANCH: master
Ran 17 Jul 2018 01:08PM UTC
Jobs 1
Files 17
Run time 24s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
9987

Pull #6920

travis-ci

Hannah Wolfe
Fix post model deletes tags when editing post only

fixes #6919, refs #6917

- resolves the problem by guarding for `tags` being undefined or null
   - If it is undefined, we don't do any tag processing
   - If it is null, we don't do any tag processing
   - To delete all tags, you would provide `tags: []`
- adds tests at both the model (using withRelated) and API (using includes) layers
- moves the tests for the post updateTags functionality from the tag model spec to the post model spec & cleans up a bit
Pull Request #6920: Fix post model deletes tags when editing post only

223 of 304 relevant lines covered (73.36%)

0.73 hits per line

Jobs
ID Job ID Ran Files Coverage
6 9987.6 (DB=pg NODE_ENV=testing-pg) 17 Jul 2018 01:08PM UTC 0
73.36
Travis Job 9987.6
Source Files on build 9987
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9987
  • Pull Request #6920
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc