diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-10-04 13:58:32 +0200 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-10-04 14:27:09 +0200 |
commit | 27577e8e2b7bf18c0dbc402e5efad4905c5a154c (patch) | |
tree | 1ee6664b53459d48b9d29b59991c24e705e18143 /spec/helpers/application_helper_spec.rb | |
parent | 6168e33e9e2f327f078e07b71c466dcc9fa9813a (diff) | |
download | gitlab-ce-27577e8e2b7bf18c0dbc402e5efad4905c5a154c.tar.gz |
Fixed Tests
Diffstat (limited to 'spec/helpers/application_helper_spec.rb')
-rw-r--r-- | spec/helpers/application_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb index 6dafd73d337..87ae1fa5660 100644 --- a/spec/helpers/application_helper_spec.rb +++ b/spec/helpers/application_helper_spec.rb @@ -60,7 +60,7 @@ describe ApplicationHelper do let(:asset_host) { 'http://assets' } it 'returns an url for the avatar' do - project = create(:project, avatar: File.open(uploaded_image_temp_path)) + project = create(:project, :public, avatar: File.open(uploaded_image_temp_path)) avatar_url = "/uploads/-/system/project/avatar/#{project.id}/banana_sample.gif" expect(helper.project_icon(project.full_path).to_s) |