Commit 49c169dceb84ac0ec9a59ad6794c2dce8d6ca316

Authored by Rodrigo Souto
1 parent c0f97fc8

tests: avoid randomness on article test

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/unit/article_test.rb
@@ -1564,7 +1564,7 @@ class ArticleTest < ActiveSupport::TestCase @@ -1564,7 +1564,7 @@ class ArticleTest < ActiveSupport::TestCase
1564 c4 = fast_create(RssFeed, :name => 'Testing article 4', :body => 'Article body 4', :profile_id => profile.id) 1564 c4 = fast_create(RssFeed, :name => 'Testing article 4', :body => 'Article body 4', :profile_id => profile.id)
1565 c5 = fast_create(TextileArticle, :name => 'Testing article 5', :body => 'Article body 5', :profile_id => profile.id) 1565 c5 = fast_create(TextileArticle, :name => 'Testing article 5', :body => 'Article body 5', :profile_id => profile.id)
1566 1566
1567 - assert_equal [c1,c2,c5], Article.text_articles 1567 + assert_equivalent [c1,c2,c5], Article.text_articles
1568 end 1568 end
1569 1569
1570 should 'delegate region info to profile' do 1570 should 'delegate region info to profile' do