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

cubesystems / releaf / 1263 / 2
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 06 Nov 2015 05:21AM UTC
Files 127
Run time 3s
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

06 Nov 2015 05:17AM UTC coverage: 98.027%. Remained the same
2.2.1, DB=pg

Pull #252

travis-ci

graudeejs
Fix case when profile controller is inherited and used different resource_clas

When controller then extends profile controller sets resource class to
use sublcass of Releaf::Permissions::User, it's actually not being used,
because @resource is set in #setup to current user.

To fix this, we specifically say which class we want to work with by
using #becomes.

After this change if you add some custom validation to subclass of
Releaf::Permissions::User and override .resource_class to return it.
It will actually run these additional validations.
Pull Request #252: Fix case when profile controller is inherited and used different resource_class

3280 of 3346 relevant lines covered (98.03%)

185.38 hits per line

Source Files on job 1263.2 (2.2.1, DB=pg)
  • Tree
  • List 0
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1263
  • Travis Job 1263.2
  • 2c02165d on github
  • Prev Job for 2.2.1, DB=pg on master (#1260.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