diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-10-09 18:05:51 +0300 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-10-09 18:05:51 +0300 |
commit | 59c6ddcdefb813487d552499ebcb5504b5fde548 (patch) | |
tree | 0f3bdcf9b219d7c83b8d2409cbe6f7d6b1460d12 /spec/models/project_spec.rb | |
parent | 5f41cddf80b5bcf7b409e200b21cd26761ad9afd (diff) |
Fix for Lint Error + Upload Test
Diffstat (limited to 'spec/models/project_spec.rb')
-rw-r--r-- | spec/models/project_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb index 176bb568cbe..fef89999b85 100644 --- a/spec/models/project_spec.rb +++ b/spec/models/project_spec.rb @@ -844,7 +844,7 @@ describe Project do let(:project) { create(:project) } context 'when avatar file is uploaded' do - let(:project) { create(:project, :with_avatar) } + let(:project) { create(:project, :public, :with_avatar) } let(:avatar_path) { "/uploads/-/system/project/avatar/#{project.id}/dk.png" } let(:gitlab_host) { "http://#{Gitlab.config.gitlab.host}" } |