From fedae1587aded0c3e8ff04df5f57817c7fa6ad0a Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 16 Jan 2016 16:52:53 +0100 Subject: [PATCH] Improved timing. --- test/integration/twitter_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/twitter_test.rb b/test/integration/twitter_test.rb index 64f3a06b8..1064e4369 100644 --- a/test/integration/twitter_test.rb +++ b/test/integration/twitter_test.rb @@ -392,7 +392,7 @@ class TwitterTest < ActiveSupport::TestCase (1..2).each { 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') @@ -416,7 +416,7 @@ class TwitterTest < ActiveSupport::TestCase (1..2).each { 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')