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

trotzig / diffux / 118
99%

Build:
DEFAULT BRANCH: master
Ran 09 Feb 2014 12:22AM UTC
Jobs 2
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

pending completion
118

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%)

35.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 118.1 (2.0.0) 09 Feb 2014 12:23AM UTC 0
98.32
Travis Job 118.1
2 118.2 (2.1.0) 09 Feb 2014 12:22AM UTC 0
98.32
Travis Job 118.2
Source Files on build 118
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #118
  • ce0dcd94 on github
  • Prev Build on master (#117)
  • Next Build on master (#119)
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