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

projecthydra / sufia / 3598
92%
master: 98%

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

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%)

74.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3598.1 (2.2, RAILS_VERSION=4.2.3) 28 Jul 2015 06:01PM UTC 0
91.53
Travis Job 3598.1
2 3598.2 (2.1, RAILS_VERSION=4.2.3) 28 Jul 2015 06:01PM UTC 0
91.53
Travis Job 3598.2
Source Files on build 3598
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3598
  • cd35d722 on github
  • Prev Build on user_mailbox (#3591)
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