RolifyCommunity/rolify — pull request #280 by muichkine (2014-09-08 10:33:36+00:00)
Title: - Added a test to confirm that querying users for organizations works to...

This is an addition to my previous commit to handle Resources with sub classes.

It only adds a test to ensure that doing

User.with_role(:owner, Company.first)

works too.

No code outside specs are changed.