This commit is contained in:
James Lopez 2017-01-12 14:32:30 +01:00
parent 150a448596
commit 1d775d9712
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ class CycleAnalytics
end
def no_stats?
stats.all? { hash[:value].nil? }
stats.all? { |hash| hash[:value].nil? }
end
def permissions(user:)

View File

@ -42,8 +42,8 @@ module Gitlab
def event_fetcher
@event_fetcher ||= Gitlab::CycleAnalytics::EventFetcher[name].new(project: @project,
stage: name,
options: event_options)
stage: name,
options: event_options)
end
def event_options