noosfero | Add environment permission to not allow user to delete a profile (#648)
Daniela Feitosa
gitlab at gitlab.com
Tue Aug 4 19:48:39 BRT 2015
New comment for Merge Request 648
https://gitlab.com/noosfero/noosfero/merge_requests/648#note_1823083
Daniela Feitosa
This test is testing that the notice is being displayed, but not that the profile wasn't removed. Instead of testing this way, you could test with `assert_no_difference` and the `post :destroy_profile` inside of it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150804/5b64319a/attachment.html>
More information about the Noosfero-dev
mailing list