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

Fullscreen / yt / 158
100%
master: 94%

Build:
Build:
LAST BUILD BRANCH: v0.33.4
DEFAULT BRANCH: master
Ran 06 Jun 2014 10:53PM UTC
Jobs 2
Files 114
Run time 1min
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
158

push

travis-ci

claudiofullscreen
Remove duplication in `has_one` associations

Seven `has_one` associations were defined in the same way, so the
code can be simplified by declaring `has_one` programmatically.

This commit does not change any functionality, with two exceptions:
"account.channel" and "video.rating" were the only two `has_one`
associations that would return +nil+ when the association was not
found, rather than raising an Error. Now they raise an error too,
in coherence with the other associations.

2190 of 2191 relevant lines covered (99.95%)

29.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 158.1 (1.9.3, YT_TEST_DEVICE_REFRESH_TOKEN=[secure], gemfiles/Gemfile.activesupport-3.x) 06 Jun 2014 10:54PM UTC 0
99.91
Travis Job 158.1
2 158.2 (2.0.0, YT_TEST_DEVICE_REFRESH_TOKEN=[secure], gemfiles/Gemfile.activesupport-4.x) 06 Jun 2014 10:53PM UTC 0
100.0
Travis Job 158.2
Source Files on build 158
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #158
  • e7130065 on github
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