noosfero | Add is_admin? method to check if a user is a community or enterprise adminsitrator (fbb18e91)
Rodrigo Souto
gitlab at gitlab.com
Fri Apr 10 14:49:04 BRT 2015
New comment for Commit fbb18e91
https://gitlab.com/noosfero/noosfero/commit/fbb18e91844763fce1f2107ad1eb76d253bbb4d5#note_1072458
Author: Rodrigo Souto
It shouldn't be necessary to test a superclass behaviour on every subclass. Is it really necessary?
Also, Organization's and Enterprise's tests are named using 'community' instead of 'organization' and 'enterprise', respectively.
+1 it's funny how we postpone such small but much needed improvements.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150410/16b5436b/attachment.html>
More information about the Noosfero-dev
mailing list