aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib')
-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