From 2146db0f3ef7b160d2ca770f1b55d26ba54853c4 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 19 Nov 2013 13:04:23 +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