noosfero | Show email of requestor in AddMember task (#696)

Rodrigo Souto gitlab at gitlab.com
Thu Oct 8 10:58:03 BRT 2015


New comment for Merge Request 696

https://gitlab.com/noosfero/noosfero/merge_requests/696#note_2317775


Rodrigo Souto

Instead of matching the whole string, just match the email. This will avoid future tests failure if the message changes its format.

```
assert_match(/#{task.requestor.email}/, tark.target_notification_description)
```

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20151008/0fa76c8e/attachment.html>


More information about the Noosfero-dev mailing list