Improved timing.
This commit is contained in:
parent
348ebe20ba
commit
cb13aeadda
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ class TwitterTest < ActiveSupport::TestCase
|
||||||
# check if ticket and article has been created
|
# check if ticket and article has been created
|
||||||
article = Ticket::Article.find_by(message_id: tweet.id)
|
article = Ticket::Article.find_by(message_id: tweet.id)
|
||||||
break if article
|
break if article
|
||||||
sleep 10
|
sleep 15
|
||||||
}
|
}
|
||||||
assert(article)
|
assert(article)
|
||||||
assert_equal('@me_bauer', article.from, 'ticket article from')
|
assert_equal('@me_bauer', article.from, 'ticket article from')
|
||||||
|
|
Loading…
Reference in a new issue