noosfero | Improvements on template mirror blocks behaviour (#763)
Rodrigo Souto
gitlab at mg.gitlab.com
Mon Jan 25 14:14:23 BRST 2016
New comment for Merge Request 763
https://gitlab.com/noosfero/noosfero/merge_requests/763#note_3377741
Rodrigo Souto
@TallysMartins ok. You could also test the exception:
```
assert_raise ActiveRecord::RecordNotFound do
mirror_block.reload
end
```
But it's fine the way you did too.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20160125/180e7b4b/attachment.html>
More information about the Noosfero-dev
mailing list