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

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

Build:
DEFAULT BRANCH: master
Ran 15 Mar 2019 04:24PM UTC
Files 470
Run time 31s
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.645% (+0.02%) from 70.626%
4788.1

push

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

1926 of 3098 branches covered (62.17%)

4392 of 6217 relevant lines covered (70.65%)

44.93 hits per line

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