From d941232e838ede8ef0de20d4cb4557bc3698b510 Mon Sep 17 00:00:00 2001 From: Robin Houston Date: Fri, 30 Dec 2011 16:49:24 +0000 Subject: Recognise a couple of newly-seen types of out-of-office message --- spec/script/handle-mail-replies_spec.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'spec/script/handle-mail-replies_spec.rb') diff --git a/spec/script/handle-mail-replies_spec.rb b/spec/script/handle-mail-replies_spec.rb index eae0b516b..8ed83b31f 100644 --- a/spec/script/handle-mail-replies_spec.rb +++ b/spec/script/handle-mail-replies_spec.rb @@ -54,5 +54,15 @@ describe "When filtering" do r = mail_reply_test("track-response-messageclass-oof.email") r.status.should == 2 end + + it "should detect an Outlook(?)-style out-of-office" do + r = mail_reply_test("track-response-outlook-oof.email") + r.status.should == 2 + end + + it "should detect an ABCMail-style out-of-office" do + r = mail_reply_test("track-response-abcmail-oof.email") + r.status.should == 2 + end end -- cgit v1.2.3