Please sign in to comment.
It's better to pass strings to assert_match - it converts them to reg…
…ular expressions, escaping special chars like '.'. It seems email.encoded contains some unexpected line breaks (due to encoding), it's better to assert_match email.body.to_s.
- Loading branch information...
Showing with 2 additions and 2 deletions.