Added debug info for sporadic failure.
This commit is contained in:
parent
b3ffd1108b
commit
71c26e16ec
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue