Commit 37a35050 authored by James Lopez's avatar James Lopez

fix integration spec

parent af80fcb4
......@@ -19,7 +19,7 @@ module Projects
end
def test
@options[:branch] = events_params[:branch_name]
options[:branch] = events_params[:branch_name]
render_events(events.test_events)
end
......
......@@ -13,7 +13,7 @@ module Gitlab
issue_table[:created_at],
issue_table[:author_id]]
def self.serialize(event, query)#
def self.serialize(event, query)
event['author'] = User.find(event.delete('author_id'))
AnalyticsIssueSerializer.new(project: query.project).represent(event).as_json
......
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