Change constant path
This commit is contained in:
parent
34b7f17302
commit
68a5e20532
|
@ -23,7 +23,7 @@ module Gitlab
|
||||||
end
|
end
|
||||||
|
|
||||||
def get
|
def get
|
||||||
::CycleAnalytics::STAGES.each do |stage|
|
::CycleAnalytics::Base::STAGES.each do |stage|
|
||||||
@stage_permission_hash[stage] = authorized_stage?(stage)
|
@stage_permission_hash[stage] = authorized_stage?(stage)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ describe Gitlab::CycleAnalytics::UsageData do
|
||||||
|
|
||||||
expect(result).to have_key(:avg_cycle_analytics)
|
expect(result).to have_key(:avg_cycle_analytics)
|
||||||
|
|
||||||
CycleAnalytics::STAGES.each do |stage|
|
CycleAnalytics::Base::STAGES.each do |stage|
|
||||||
expect(result[:avg_cycle_analytics]).to have_key(stage)
|
expect(result[:avg_cycle_analytics]).to have_key(stage)
|
||||||
|
|
||||||
stage_values = result[:avg_cycle_analytics][stage]
|
stage_values = result[:avg_cycle_analytics][stage]
|
||||||
|
|
Loading…
Reference in New Issue