diff options
author | Robin Houston <robin@lenny.robin> | 2011-09-08 22:12:15 +0100 |
---|---|---|
committer | Robin Houston <robin@lenny.robin> | 2011-09-08 22:12:45 +0100 |
commit | 2442a5322ee560756f521983a0f7f0de4c4aa4e1 (patch) | |
tree | cafa375cb4137d9d77e2e57f005cd1d887f85de8 /spec/script/handle-mail-replies_spec.rb | |
parent | f6a9a1949e3430f16f69672bf429141afd08efdf (diff) |
Detect OOF messages that identify themselves by a X-POST-MessageClass header
Diffstat (limited to 'spec/script/handle-mail-replies_spec.rb')
-rw-r--r-- | spec/script/handle-mail-replies_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
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 |