Applied rubocop.

This commit is contained in:
Martin Edenhofer 2015-07-05 09:03:09 +02:00
parent 56d3c66c9e
commit e6191411d5

View file

@ -166,9 +166,9 @@ class TwitterTest < ActiveSupport::TestCase
assert( article, "outbound article created, text: #{reply_text}" )
tweet_found = false
client.user_timeline('armin_theo').each { |tweet|
client.user_timeline('armin_theo').each { |local_tweet|
next if tweet.id != article.message_id
next if local_tweet.id != article.message_id
tweet_found = true
break
}
@ -221,7 +221,7 @@ class TwitterTest < ActiveSupport::TestCase
}
assert( article, 'inbound article created' )
ticket = article.ticket
ticket = article.ticket
assert( ticket, 'ticket of inbound article exists' )
assert( ticket.articles, 'ticket.articles exists' )
assert_equal( ticket.articles.count, 1, 'ticket article inbound count' )