提交 1d775d97 编写于 作者: J James Lopez

fix spec

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册