From 71c26e16ec9d567eac00fc90e6f366fabdc72293 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 19 Nov 2013 14:07:28 +0100 Subject: [PATCH] Added debug info for sporadic failure. --- test/unit/twitter_test.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/unit/twitter_test.rb b/test/unit/twitter_test.rb index 41527ca90..ff8afc7f3 100644 --- a/test/unit/twitter_test.rb +++ b/test/unit/twitter_test.rb @@ -156,6 +156,10 @@ class TwitterTest < ActiveSupport::TestCase # check if ticket and article has been created article = Ticket::Article.where( :message_id => dm.id ).last +puts "----------------------------------------" +puts "DM: " + dm.inspect +puts "AT: " + article.inspect +puts "----------------------------------------" assert( article, "inbound article created" ) # ticket = Ticket.find( article.ticket.id ) ticket = article.ticket