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

projecthydra / sufia / 3598 / 2
92%
master: 98%

Build:
Build:
LAST BUILD BRANCH: v7.3.1
DEFAULT BRANCH: master
Ran 28 Jul 2015 06:01PM UTC
Files 190
Run time 8s
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

28 Jul 2015 05:34PM UTC coverage: 91.528% (+0.6%) from 90.948%
2.1, RAILS_VERSION=4.2.3

push

travis-ci

hectorcorrea
After a week of training on "Practical Object-Oriented Design" with Sandi Metz @cam156 @awead and I decided to take a stab at refactoring a small piece of functionality with some of the ideas that we learned.

This PR does not change the functionality of the MailboxController but it refactors most of the code out of it to a model class UserMailbox This new class encapsulates most of the functionality and the controller is now as skinny as it gets which was one of our goals.

The new UserMailbox has a more comprehensive list of tests than the original code and it's easier to test since it does not mix model + controller functionality.

3468 of 3789 relevant lines covered (91.53%)

37.91 hits per line

Source Files on job 3598.2 (2.1, RAILS_VERSION=4.2.3)
  • Tree
  • List 0
  • Changed 130
  • Source Changed 130
  • Coverage Changed 91
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3598
  • Travis Job 3598.2
  • cd35d722 on github
  • Prev Job for 2.1, RAILS_VERSION=4.2.3 on user_mailbox (#3591.2)
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