summaryrefslogtreecommitdiff
path: root/spec/requests/api/projects_spec.rb
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2017-07-17 15:46:59 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2017-07-18 15:38:54 +0200
commit458f3cf9b0a4f3571b9df8ae76e8fcabdc23c96b (patch)
treeafee26ecb23b5593e01b4c533fe35e89cb02026a /spec/requests/api/projects_spec.rb
parentc156030ef965bed019def3993ee21d214fe2f2ba (diff)
downloadgitlab-ce-458f3cf9b0a4f3571b9df8ae76e8fcabdc23c96b.tar.gz
Update specs for new upload path
Diffstat (limited to 'spec/requests/api/projects_spec.rb')
-rw-r--r--spec/requests/api/projects_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/projects_spec.rb b/spec/requests/api/projects_spec.rb
index fa704f23857..6dbde8bad31 100644
--- a/spec/requests/api/projects_spec.rb
+++ b/spec/requests/api/projects_spec.rb
@@ -442,7 +442,7 @@ describe API::Projects do
post api('/projects', user), project
project_id = json_response['id']
- expect(json_response['avatar_url']).to eq("http://localhost/uploads/system/project/avatar/#{project_id}/banana_sample.gif")
+ expect(json_response['avatar_url']).to eq("http://localhost/uploads/-/system/project/avatar/#{project_id}/banana_sample.gif")
end
it 'sets a project as allowing merge even if build fails' do