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 )