Add comment related to workaround used in specs

This commit is contained in:
Grzegorz Bizon 2016-11-16 12:33:04 +01:00
parent 1708d3a966
commit 3cf516cd20

View file

@ -300,6 +300,9 @@ feature 'Environments', feature: true do
expect(page).to have_no_link('Stop')
end
##
# This is a workaround for problem described in #24543
#
def remove_branch_with_hooks(project, user, branch)
params = {
oldrev: project.commit(branch).id,