Commit 2e071d4b authored by Jarka Kadlecova's avatar Jarka Kadlecova

Fix specs failing because of issuable usage

parent 106f039e
......@@ -11,10 +11,7 @@ module EE
end
def service_desk
if params[:assignee_id].present?
assignee = ::User.find_by_id(params[:assignee_id])
@users.push(assignee) if assignee
end
@issues = @issuables
@users.push(::User.support_bot)
end
......
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