Added debug info for sporadic failure.

This commit is contained in:
Martin Edenhofer 2013-11-19 13:04:23 +01:00
parent 2ca1f5eb52
commit 2146db0f3e

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