Commit f12dd0f67d7dadfb8112b086fa79c77eedadd4cf

Authored by Rodrigo Souto
1 parent 506e5507

[postgres-tests] Avoiding order randomness on profile controller tests

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/functional/profile_controller_test.rb
... ... @@ -987,7 +987,7 @@ class ProfileControllerTest < ActionController::TestCase
987 987 @controller.stubs(:current_user).returns(user)
988 988 Person.any_instance.stubs(:follows?).returns(true)
989 989 get :index, :profile => c.identifier
990   - assert_equal [s2,s3], assigns(:activities)
  990 + assert_equivalent [s2,s3], assigns(:activities)
991 991 end
992 992  
993 993 should 'the activities be paginated in people profiles' do
... ...