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

trotzig / diffux / 118 / 1
99%
master: 99%

Build:
DEFAULT BRANCH: master
Ran 09 Feb 2014 12:23AM UTC
Files 19
Run time –
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

09 Feb 2014 12:19AM UTC coverage: 98.322% (+0.006%) from 98.316%
2.0.0

push

travis-ci

lencioni
Fix edge case for Snapshot #auto_accept and #diff

While working on something in dev, I was able to get my Snapshot data in
a way that was confusing and difficult to work with. Essentially, I had
a snapshot that had its diff set against itself, so it was always
auto-accepting.

To prevent this, I originally wanted to add a custom validation that
would prevent diffed_with_snapshot from being the same as snapshot.
However, that caused problems that I don't feel like jumping into right
now, so I am tackling this from a different angle for now by making
`#auto_accept` and `#diff` smarter.

While I was at it, I added specs for Snapshot#diff? and corrected the
description on an `it` block that was saying the opposite of what it was
doing.

Change-Id: I4c9c34989

293 of 298 relevant lines covered (98.32%)

17.73 hits per line

Source Files on job 118.1 (2.0.0)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 118
  • Travis Job 118.1
  • ce0dcd94 on github
  • Prev Job for 2.0.0 on master (#117.1)
  • Next Job for 2.0.0 on master (#119.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