cancan/spec
Mani Tadayon 25bf479f48 Fix accessible_by for Mongoid documents when no ability is defined.
The previous spec that checked for this was not right, since there were no documents in the collection, so every query would return an empty result.
2010-10-13 19:41:30 -07:00
..
cancan Fix accessible_by for Mongoid documents when no ability is defined. 2010-10-13 19:41:30 -07:00
matchers.rb adding Gemfile, to get specs running just bundle and rake - closes #163 2010-10-05 10:09:37 -07:00
spec_helper.rb using supermodel in specs to remove some of the model stubs 2010-10-08 11:46:41 -07:00
spec.opts passing a hash to can? will check permissions on association, this is done automatically in authorize_resource - closes #121 2010-09-03 11:01:55 -07:00