Commit 506e5507585b0c6099109b35656546014a209998

Authored by Rodrigo Souto
1 parent d605bfce

[postgres-tests] Avoiding order randomness on task tests

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/unit/task_test.rb
... ... @@ -182,7 +182,7 @@ class TaskTest < ActiveSupport::TestCase
182 182 t2.finish
183 183 t3 = Task.create!
184 184  
185   - assert_equal [t1,t3], Task.pending
  185 + assert_equivalent [t1,t3], Task.pending
186 186 end
187 187  
188 188 should 'be able to list finished tasks' do
... ...