aboutsummaryrefslogtreecommitdiffstats
path: root/spec/script/handle-mail-replies_spec.rb
diff options
context:
space:
mode:
authorRobin Houston <robin@lenny.robin>2011-09-08 22:12:15 +0100
committerRobin Houston <robin@lenny.robin>2011-09-08 22:12:45 +0100
commit2442a5322ee560756f521983a0f7f0de4c4aa4e1 (patch)
treecafa375cb4137d9d77e2e57f005cd1d887f85de8 /spec/script/handle-mail-replies_spec.rb
parentf6a9a1949e3430f16f69672bf429141afd08efdf (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.rb5
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