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

fix spec

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