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

trotzig / diffux / 119
99%

Build:
DEFAULT BRANCH: master
Ran 09 Feb 2014 01:06AM UTC
Jobs 2
Files 21
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
119

push

travis-ci

lencioni
Break up Snapshot#accept!

It felt a little weird to have two method calls in a row that both end
up saving the instance. To resolve this, I split up Snapshot#accept!
into Snapshot#accept, which simply modifies the properties, and
Snapshot#accept!, which calls #accept followed by #save!.

I had considered doing this with a conditional in the worker, but this
seemed more readable to me.

Change-Id: I604bc0c95

314 of 319 relevant lines covered (98.43%)

33.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 119.1 (2.0.0) 09 Feb 2014 01:06AM UTC 0
98.43
Travis Job 119.1
2 119.2 (2.1.0) 09 Feb 2014 01:06AM UTC 0
98.43
Travis Job 119.2
Source Files on build 119
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #119
  • f08442f8 on github
  • Prev Build on master (#118)
  • Next Build on master (#120)
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