|
Ran
|
Jobs
2
|
Files
19
|
Run time
–
|
Badge
README BADGES
|
push
travis-ci
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
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 118.1 (2.0.0) | 0 |
98.32 |
Travis Job 118.1 | |
| 2 | 118.2 (2.1.0) | 0 |
98.32 |
Travis Job 118.2 |