aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib/mail_handler
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-05-13 17:51:59 +0100
committerMark Longair <mhl@pobox.com>2013-05-16 09:06:27 +0100
commit55fd2004f75b2c77c6f875aa5a392bb375f82657 (patch)
tree9722066bda1c53974adac0e716fc9c71b3679011 /spec/lib/mail_handler
parent2805cc72a21089ea9725352b1d4d39d7d929a7a0 (diff)
Fix a syntax error
Diffstat (limited to 'spec/lib/mail_handler')
-rw-r--r--spec/lib/mail_handler/mail_handler_spec.rb2
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 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