From 55fd2004f75b2c77c6f875aa5a392bb375f82657 Mon Sep 17 00:00:00 2001 From: Mark Longair Date: Mon, 13 May 2013 17:51:59 +0100 Subject: Fix a syntax error --- 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 3f3be1f20..2a083d65c 100644 --- a/spec/lib/mail_handler/mail_handler_spec.rb +++ b/spec/lib/mail_handler/mail_handler_spec.rb @@ -38,7 +38,7 @@ describe 'when creating a mail object from raw data' do # be Unicode codepoint 2013. It should be possible to # spot the mislabelling, since 0x96 isn't a valid # ISO-8859-1 character. - body.should match / \xe2\x80\x93 / + body.should match(/ \xe2\x80\x93 /) end end -- cgit v1.2.3