Commit 1d775d97 authored by James Lopez's avatar James Lopez

fix spec

parent 150a4485
......@@ -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
......
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