Added debug info for sporadic failure.

This commit is contained in:
Martin Edenhofer 2013-11-19 14:07:28 +01:00
parent b3ffd1108b
commit 71c26e16ec

View file

@ -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