From 08224e154953ae105341e36371ca7f7a42079068 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Mon, 11 Nov 2013 16:40:22 +0000 Subject: 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. --- spec/lib/mail_handler/mail_handler_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/lib/mail_handler/mail_handler_spec.rb') 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" ', - ['FOI \" Person', + ['FOI " Person', 'foiperson@localhost', '"FOI \" Person" ']) end -- cgit v1.2.3