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