diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-06-20 10:59:54 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-06-20 10:59:54 +0100 |
commit | 7d0fea4b38c214a67b2fc4b56aa670e02a3cda61 (patch) | |
tree | 85e77cf7ba0656efbacf1497baff2ef96887bd3b /spec/script/handle-mail-replies_spec.rb | |
parent | 6ef57090e436e01bc5de801bc7acb6bfadb5c490 (diff) | |
parent | 6c4c822ef7a4491bf821326af779e5be9118c0a1 (diff) |
Merge branch 'master' into develop
Diffstat (limited to 'spec/script/handle-mail-replies_spec.rb')
-rw-r--r-- | spec/script/handle-mail-replies_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/script/handle-mail-replies_spec.rb b/spec/script/handle-mail-replies_spec.rb index 75a2aa6ad..406af9ee3 100644 --- a/spec/script/handle-mail-replies_spec.rb +++ b/spec/script/handle-mail-replies_spec.rb @@ -12,6 +12,12 @@ def mail_reply_test(email_filename) end describe "When filtering" do + it "should not fail when not in test mode" do + xc = ExternalCommand.new("script/handle-mail-replies") + xc.run(load_file_fixture("track-response-exim-bounce.email")) + xc.err.should == "" + end + it "should detect an Exim bounce" do r = mail_reply_test("track-response-exim-bounce.email") r.status.should == 1 |