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

TryGhost / Ghost / 9987 / 6
73%
master: 20%

Build:
Build:
LAST BUILD BRANCH: mailchimp
DEFAULT BRANCH: master
Ran 17 Jul 2018 01:08PM UTC
Files 17
Run time 23s
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

17 Jul 2018 01:08PM UTC coverage: 73.355%. First build
DB=pg NODE_ENV=testing-pg

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

Source Files on job 9987.6 (DB=pg NODE_ENV=testing-pg)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14905
  • Travis Job 9987.6
  • 35c26055 on github
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