Improved timing.

This commit is contained in:
Martin Edenhofer 2015-12-28 13:54:03 +01:00
parent 348ebe20ba
commit cb13aeadda

View file

@ -184,7 +184,7 @@ class TwitterTest < ActiveSupport::TestCase
# check if ticket and article has been created
article = Ticket::Article.find_by(message_id: tweet.id)
break if article
sleep 10
sleep 15
}
assert(article)
assert_equal('@me_bauer', article.from, 'ticket article from')