diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-11-11 16:40:22 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-11-12 15:15:51 +0000 |
commit | 08224e154953ae105341e36371ca7f7a42079068 (patch) | |
tree | 78d1421bf1340f27f29d7e11b4a13df0a802b208 /spec/lib/mail_handler/mail_handler_spec.rb | |
parent | ee67e8802ef811dcc74f10acedb5353c1f0fb5a8 (diff) |
Update spec to match upgraded mail gem behaviour.
The new name value doesn't escape a double quote within single quotes,
which seems more correct.
Diffstat (limited to 'spec/lib/mail_handler/mail_handler_spec.rb')
-rw-r--r-- | spec/lib/mail_handler/mail_handler_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/mail_handler/mail_handler_spec.rb b/spec/lib/mail_handler/mail_handler_spec.rb index aa351bd94..bc027eaec 100644 --- a/spec/lib/mail_handler/mail_handler_spec.rb +++ b/spec/lib/mail_handler/mail_handler_spec.rb @@ -235,7 +235,7 @@ describe 'when deriving a name, email and formatted address from a message from it 'should quote a name with quotes in it' do should_render_from_address('"FOI \" Person" <foiperson@localhost>', - ['FOI \" Person', + ['FOI " Person', 'foiperson@localhost', '"FOI \" Person" <foiperson@localhost>']) end |