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

cubesystems / releaf / 1263
98%

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

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

373.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1263.1 (2.2.1, DB=mysql) 06 Nov 2015 05:22AM UTC 0
98.0
Travis Job 1263.1
2 1263.2 (2.2.1, DB=pg) 06 Nov 2015 05:21AM UTC 0
98.03
Travis Job 1263.2
Source Files on build 1263
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1263
  • Pull Request #252
  • PR Base - master (#1260)
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