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

RolifyCommunity / rolify / 512 / 3
79%
master: 93%

Build:
Build:
LAST BUILD BRANCH: with_any_role_AR
DEFAULT BRANCH: master
Ran 23 Oct 2015 01:35AM UTC
Files 14
Run time 2s
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

23 Oct 2015 01:32AM UTC coverage: 79.108%. Remained the same
2.1.2, ADAPTER=active_record

push

travis-ci

EppO
Fix behaviour of with_any_role with no args

User.with_any_role with no args should return all User instances having at least one role.
fix #363

For the generator specs to pass, I needed to add this: ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:")
Otherwise, generators specs are failing because of `ActiveRecord::ConnectionNotEstablished: No connection pool for ActiveRecord::Base` error.

I had to require explicitly active_view and active_controller gems for mongoid adapter to make generators specs pass for mongoid.
I changed also mongoid.yml to use clients instead of sessions and disabled mongod logging that were flooding travis-ci outputs and reached the log size limit (4MB)

337 of 426 relevant lines covered (79.11%)

163.56 hits per line

Source Files on job 512.3 (2.1.2, ADAPTER=active_record)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 512
  • Travis Job 512.3
  • eae9e7e2 on github
  • Prev Job for 2.1.2, ADAPTER=active_record on bugfix-363 (#510.3)
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