about summary refs log tree commit diff
path: root/spec/controllers/activitypub/followers_synchronizations_controller_spec.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-02-11 22:22:25 +0100
committerGitHub <noreply@github.com>2022-02-11 22:22:25 +0100
commit59b7ba451b4ded817c98abfa8c88738de0484917 (patch)
tree86a6af23cb16f45a5bfb660d8edd70ad57d4a30c /spec/controllers/activitypub/followers_synchronizations_controller_spec.rb
parent776e337b8d2aa66440bc4565617b5440ca781e1a (diff)
parenta34e4f7e279e14b304ed81f698feb19d18a74d04 (diff)
Merge pull request #1684 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'spec/controllers/activitypub/followers_synchronizations_controller_spec.rb')
-rw-r--r--spec/controllers/activitypub/followers_synchronizations_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/activitypub/followers_synchronizations_controller_spec.rb b/spec/controllers/activitypub/followers_synchronizations_controller_spec.rb
index 3a382ff27..e233bd560 100644
--- a/spec/controllers/activitypub/followers_synchronizations_controller_spec.rb
+++ b/spec/controllers/activitypub/followers_synchronizations_controller_spec.rb
@@ -47,7 +47,7 @@ RSpec.describe ActivityPub::FollowersSynchronizationsController, type: :controll
 
       it 'returns orderedItems with followers from example.com' do
         expect(body[:orderedItems]).to be_an Array
-        expect(body[:orderedItems].sort).to eq [follower_4.uri, follower_1.uri, follower_2.uri]
+        expect(body[:orderedItems]).to match_array([follower_4.uri, follower_1.uri, follower_2.uri])
       end
 
       it 'returns private Cache-Control header' do