From 2442a5322ee560756f521983a0f7f0de4c4aa4e1 Mon Sep 17 00:00:00 2001 From: Robin Houston Date: Thu, 8 Sep 2011 22:12:15 +0100 Subject: Detect OOF messages that identify themselves by a X-POST-MessageClass header --- spec/script/handle-mail-replies_spec.rb | 5 +++++ 1 file changed, 5 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 451c66252..eae0b516b 100644 --- a/spec/script/handle-mail-replies_spec.rb +++ b/spec/script/handle-mail-replies_spec.rb @@ -49,5 +49,10 @@ describe "When filtering" do r = mail_reply_test("track-response-messagelabs-oof-1.email") r.status.should == 2 end + + it "should detect an out-of-office that has an X-POST-MessageClass header" do + r = mail_reply_test("track-response-messageclass-oof.email") + r.status.should == 2 + end end -- cgit v1.2.3