diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-07-17 16:46:59 +0300 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-07-18 16:38:54 +0300 |
commit | 458f3cf9b0a4f3571b9df8ae76e8fcabdc23c96b (patch) | |
tree | afee26ecb23b5593e01b4c533fe35e89cb02026a /spec/requests/api/projects_spec.rb | |
parent | c156030ef965bed019def3993ee21d214fe2f2ba (diff) |
Update specs for new upload path
Diffstat (limited to 'spec/requests/api/projects_spec.rb')
-rw-r--r-- | spec/requests/api/projects_spec.rb | 2 |
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 |