BigW Consortium Gitlab

Commit 59c6ddcd by Tim Zallmann

Fix for Lint Error + Upload Test

parent 5f41cddf
module GroupsHelper
def can_change_group_visibility_level?(group)
can?(current_user, :change_visibility_level, group)
end
......
......@@ -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}" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment