summaryrefslogtreecommitdiff
path: root/spec/services
diff options
context:
space:
mode:
authorDJ Mountney <david@twkie.net>2017-06-08 10:08:06 -0700
committerDJ Mountney <david@twkie.net>2017-06-08 10:08:06 -0700
commit2afd2fbcb83baaeee8c66859c08b4acff812dccf (patch)
tree358657d272213da4171c8f04a6adc844bb71b634 /spec/services
parentae6adf165ce7d9a85d7b8886eefdbe96aac2816b (diff)
parent1d1363e2bb8a0aee7e2849fd463ea415035710d9 (diff)
downloadgitlab-ce-2afd2fbcb83baaeee8c66859c08b4acff812dccf.tar.gz
Merge branch 'upstream-9-2-security' into master-security-update
Diffstat (limited to 'spec/services')
-rw-r--r--spec/services/projects/participants_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/projects/participants_service_spec.rb b/spec/services/projects/participants_service_spec.rb
index 0657b7e93fe..d75851134ee 100644
--- a/spec/services/projects/participants_service_spec.rb
+++ b/spec/services/projects/participants_service_spec.rb
@@ -13,7 +13,7 @@ describe Projects::ParticipantsService, services: true do
groups = participants.groups
expect(groups.size).to eq 1
- expect(groups.first[:avatar_url]).to eq("/uploads/group/avatar/#{group.id}/dk.png")
+ expect(groups.first[:avatar_url]).to eq("/uploads/system/group/avatar/#{group.id}/dk.png")
end
it 'should return an url for the avatar with relative url' do
@@ -24,7 +24,7 @@ describe Projects::ParticipantsService, services: true do
groups = participants.groups
expect(groups.size).to eq 1
- expect(groups.first[:avatar_url]).to eq("/gitlab/uploads/group/avatar/#{group.id}/dk.png")
+ expect(groups.first[:avatar_url]).to eq("/gitlab/uploads/system/group/avatar/#{group.id}/dk.png")
end
end
end