BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
37a35050
Commit
37a35050
authored
Nov 17, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix integration spec
parent
af80fcb4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
events_controller.rb
...controllers/projects/cycle_analytics/events_controller.rb
+1
-1
issue_event.rb
lib/gitlab/cycle_analytics/issue_event.rb
+1
-1
No files found.
app/controllers/projects/cycle_analytics/events_controller.rb
View file @
37a35050
...
...
@@ -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
...
...
lib/gitlab/cycle_analytics/issue_event.rb
View file @
37a35050
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment