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

TryGhost / Ghost-Admin / 4789 / 1
70%
master: 70%

Build:
DEFAULT BRANCH: master
Ran 15 Mar 2019 04:33PM UTC
Files 470
Run time 27s
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

15 Mar 2019 04:18PM UTC coverage: 70.677% (+0.03%) from 70.645%
4789.1

cron

travis-ci

kevinansfield
🐛 Fixed unnecessary "Are you sure you want to leave?" modals

no issue
- if a post was saved before the body content was edited you would get stuck with an "Are you sure you want to leave?" modal even though you had already saved
- the editor saw the post as being in a dirty state because the `mobiledoc` and `scratch` value were null but after saving the `mobiledoc` value was set to an blank mobiledoc object as returned by the API
- updated the `post` model save method to reset the `scratch` value if the returned `mobiledoc` no longer matches

1928 of 3098 branches covered (62.23%)

4394 of 6217 relevant lines covered (70.68%)

89.96 hits per line

Source Files on job 4789.1
  • Tree
  • List 0
  • Changed 249
  • Source Changed 0
  • Coverage Changed 249
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 4141
  • Travis Job 4789.1
  • 6b01266b on github
  • Prev Job for on master (#4788.1)
  • Next Job for on master (#4790.1)
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