summaryrefslogtreecommitdiff
path: root/spec/models/project_spec.rb
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-06-08 22:49:14 +0100
committerFilipa Lacerda <filipa@gitlab.com>2017-06-08 22:49:14 +0100
commit08aff6fb92e8e59d6a818342201ecbbeee19dbe0 (patch)
tree1330be3b351e6d7b1375659f8e32113c8979fb55 /spec/models/project_spec.rb
parent081f48fb0641758acc524d9e171784a9a6923b5a (diff)
parentedd8d91194ce79cb5d77973c40436b98eb4d97fc (diff)
downloadgitlab-ce-33466-jobs-navigation-menu.tar.gz
Merge branch 'master' into 33466-jobs-navigation-menu33466-jobs-navigation-menu
* master: Clarify API V5 being a compatability layer on top of GraphQL Update per discussion Use RequestStore on MR show.json query count spec Merge branch '25934-project-snippet-vis' into 'security-9-2' Merge branch 'dz-api-x-frame' into 'security-9-2' Merge branch 'dz-restrict-autocomplete' into 'security-9-1' Merge branch 'cherry-pick-dc2ac993' into 'security-9-2' Update rename_system_namespace_spec to new validations. Make the uploader use the updated folder Bring in security changes from the 9.2.5 release Bring in security changes from the 9.2.5 release GitLab GEO also does not support mysql replication
Diffstat (limited to 'spec/models/project_spec.rb')
-rw-r--r--spec/models/project_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb
index 3ed52d42f86..454eeb58ecd 100644
--- a/spec/models/project_spec.rb
+++ b/spec/models/project_spec.rb
@@ -812,7 +812,7 @@ describe Project, models: true do
context 'when avatar file is uploaded' do
let(:project) { create(:empty_project, :with_avatar) }
- let(:avatar_path) { "/uploads/project/avatar/#{project.id}/dk.png" }
+ let(:avatar_path) { "/uploads/system/project/avatar/#{project.id}/dk.png" }
let(:gitlab_host) { "http://#{Gitlab.config.gitlab.host}" }
it 'shows correct url' do