Commit 80d7c6ac authored by Timothy Andrew's avatar Timothy Andrew Committed by Regis

Fix tests on `security-9-2-ee`

EE-specific tests had to be updated to match changes in
https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2104

/cc @Bob
parent df0b99e2
...@@ -29,7 +29,7 @@ describe GroupsHelper do ...@@ -29,7 +29,7 @@ describe GroupsHelper do
it 'returns an url for the avatar pointing to the primary node base url' do it 'returns an url for the avatar pointing to the primary node base url' do
group.avatar = fixture_file_upload(avatar_file_path) group.avatar = fixture_file_upload(avatar_file_path)
group.save! group.save!
expect(group_icon(group.path).to_s).to match("#{geo_url}/uploads/group/avatar/#{group.id}/banana_sample.gif") expect(group_icon(group.path).to_s).to match("#{geo_url}/uploads/system/group/avatar/#{group.id}/banana_sample.gif")
end end
it 'gives default avatar_icon when no avatar is present' do it 'gives default avatar_icon when no avatar is present' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment