From f4341f5c4bf9ec91b4001fe33193101de12ac8e6 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 12 Jan 2015 12:06:07 +0100 Subject: [PATCH] Added dropped test. --- test/unit/email_process_test.rb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/test/unit/email_process_test.rb b/test/unit/email_process_test.rb index 9bead59fb..4cd6a3072 100644 --- a/test/unit/email_process_test.rb +++ b/test/unit/email_process_test.rb @@ -2050,6 +2050,28 @@ Some Text', }, }, }, + { + :data => 'From: Some Body +To: Bob +Cc: any@example.com +Subject: some subject + +Some Text', + :trusted => false, + :success => true, + :result => { + 0 => { + :group => group2.name, + :priority => '2 normal', + :title => 'some subject', + }, + 1 => { + :sender => 'Customer', + :type => 'email', + :internal => true, + }, + }, + }, ] process(files) PostmasterFilter.destroy_all