Commit acafbc32 authored by Rémy Coutable's avatar Rémy Coutable

Fix Geo spec

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 700e4181
......@@ -31,7 +31,7 @@ describe GroupsHelper 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.save!
expect(group_icon(group.path).to_s).to match("#{geo_url}/uploads/system/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
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