diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-07-17 15:46:59 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-07-18 15:38:54 +0200 |
commit | 458f3cf9b0a4f3571b9df8ae76e8fcabdc23c96b (patch) | |
tree | afee26ecb23b5593e01b4c533fe35e89cb02026a /spec/models/user_spec.rb | |
parent | c156030ef965bed019def3993ee21d214fe2f2ba (diff) | |
download | gitlab-ce-458f3cf9b0a4f3571b9df8ae76e8fcabdc23c96b.tar.gz |
Update specs for new upload path
Diffstat (limited to 'spec/models/user_spec.rb')
-rw-r--r-- | spec/models/user_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 69f2570eec2..a1d6d7e6e0b 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -1028,7 +1028,7 @@ describe User, models: true do context 'when avatar file is uploaded' do let(:gitlab_host) { "http://#{Gitlab.config.gitlab.host}" } - let(:avatar_path) { "/uploads/system/user/avatar/#{user.id}/dk.png" } + let(:avatar_path) { "/uploads/-/system/user/avatar/#{user.id}/dk.png" } it 'shows correct avatar url' do expect(user.avatar_url).to eq(avatar_path) |