Added debug info for sporadic failure.
This commit is contained in:
parent
2ca1f5eb52
commit
2146db0f3e
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