Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
1d775d97
Commit
1d775d97
authored
Jan 12, 2017
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix spec
parent
150a4485
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/models/cycle_analytics.rb
app/models/cycle_analytics.rb
+1
-1
lib/gitlab/cycle_analytics/base_stage.rb
lib/gitlab/cycle_analytics/base_stage.rb
+2
-2
No files found.
app/models/cycle_analytics.rb
View file @
1d775d97
...
@@ -17,7 +17,7 @@ class CycleAnalytics
...
@@ -17,7 +17,7 @@ class CycleAnalytics
end
end
def
no_stats?
def
no_stats?
stats
.
all?
{
hash
[
:value
].
nil?
}
stats
.
all?
{
|
hash
|
hash
[
:value
].
nil?
}
end
end
def
permissions
(
user
:)
def
permissions
(
user
:)
...
...
lib/gitlab/cycle_analytics/base_stage.rb
View file @
1d775d97
...
@@ -42,8 +42,8 @@ module Gitlab
...
@@ -42,8 +42,8 @@ module Gitlab
def
event_fetcher
def
event_fetcher
@event_fetcher
||=
Gitlab
::
CycleAnalytics
::
EventFetcher
[
name
].
new
(
project:
@project
,
@event_fetcher
||=
Gitlab
::
CycleAnalytics
::
EventFetcher
[
name
].
new
(
project:
@project
,
stage:
name
,
stage:
name
,
options:
event_options
)
options:
event_options
)
end
end
def
event_options
def
event_options
...
...
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