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

projecthydra / sufia / 3591
92%
master: 98%

Build:
Build:
LAST BUILD BRANCH: v7.3.1
DEFAULT BRANCH: master
Ran 27 Jul 2015 02:23PM UTC
Jobs 2
Files 190
Run time 13s
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
3591

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.

3406 of 3745 relevant lines covered (90.95%)

71.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3591.1 (2.2, RAILS_VERSION=4.2.3) 27 Jul 2015 02:23PM UTC 0
90.95
Travis Job 3591.1
2 3591.2 (2.1, RAILS_VERSION=4.2.3) 27 Jul 2015 02:23PM UTC 0
90.95
Travis Job 3591.2
Source Files on build 3591
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3591
  • 6f097ea6 on github
  • Next Build on user_mailbox (#3598)
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