fix iid issue making spec to fail - MySQL only

This commit is contained in:
James Lopez 2016-11-09 17:19:29 +01:00
parent 848ea241db
commit 4dfcab6ec3
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ module Gitlab
private
def parse_event(event, entity: :issue)
event['url'] = Gitlab::LightUrlBuilder.build(entity: entity, project: @project, id: event['iid'])
event['url'] = Gitlab::LightUrlBuilder.build(entity: entity, project: @project, id: event['iid'].to_s)
event['total_time'] = distance_of_time_in_words(event['total_time'].to_f)
event['created_at'] = interval_in_words(event['created_at'])
event['author_profile_url'] = Gitlab::LightUrlBuilder.build(entity: :user, id: event['author_username'])