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

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

Build:
Build:
LAST BUILD BRANCH: with_any_role_AR
DEFAULT BRANCH: master
Ran 16 Oct 2015 05:46PM UTC
Files 14
Run time 0s
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

16 Oct 2015 05:31PM 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
I tried to stop logging mongoid queries as it floods travis-ci but travis-ci displays logs from mongodb service directly and reaches 4MB logs limit. I don't know how to stop it

337 of 426 relevant lines covered (79.11%)

163.56 hits per line

Source Files on job 508.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 508
  • Travis Job 508.3
  • cc3a266b on github
  • Prev Job for 2.1.2, ADAPTER=active_record on bugfix-363 (#506.3)
  • Next 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