fix spec
This commit is contained in:
parent
150a448596
commit
1d775d9712
|
@ -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:)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue