From f12dd0f67d7dadfb8112b086fa79c77eedadd4cf Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Wed, 21 Aug 2013 15:50:52 -0300 Subject: [PATCH] [postgres-tests] Avoiding order randomness on profile controller tests --- test/functional/profile_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/profile_controller_test.rb b/test/functional/profile_controller_test.rb index 79edb3f..f6f496c 100644 --- a/test/functional/profile_controller_test.rb +++ b/test/functional/profile_controller_test.rb @@ -987,7 +987,7 @@ class ProfileControllerTest < ActionController::TestCase @controller.stubs(:current_user).returns(user) Person.any_instance.stubs(:follows?).returns(true) get :index, :profile => c.identifier - assert_equal [s2,s3], assigns(:activities) + assert_equivalent [s2,s3], assigns(:activities) end should 'the activities be paginated in people profiles' do -- libgit2 0.21.2