From e10f6726499248517374fd88f7e25294abc85f21 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 8 Oct 2015 17:24:21 +0200 Subject: [PATCH] Code layout improved. --- test/unit/email_process_test.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/unit/email_process_test.rb b/test/unit/email_process_test.rb index 8a6090290..ab2996246 100644 --- a/test/unit/email_process_test.rb +++ b/test/unit/email_process_test.rb @@ -2028,8 +2028,7 @@ Some Text', def process(files) files.each { |file| - parser = Channel::EmailParser.new - result = parser.process( { trusted: file[:trusted] }, file[:data] ) + result = Channel::EmailParser.new.process( { trusted: file[:trusted] }, file[:data] ) if file[:success] if result && result.class == Array && result[1] assert( true )