diff options
author | Małgorzata Ksionek <mksionek@gitlab.com> | 2019-07-08 11:26:02 +0300 |
---|---|---|
committer | Małgorzata Ksionek <mksionek@gitlab.com> | 2019-07-09 13:16:38 +0300 |
commit | f6423fa468e267d27594c3a0190bc9d2166d0e9c (patch) | |
tree | 008bf07f12dcacedadf490c4fffc40cb3a32449c /spec/models/cycle_analytics | |
parent | 08cf6fccfdac197e6ef10b12a5a9015e7f453ed2 (diff) |
Add code review remarks
Diffstat (limited to 'spec/models/cycle_analytics')
-rw-r--r-- | spec/models/cycle_analytics/project_level_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/cycle_analytics/project_level_spec.rb b/spec/models/cycle_analytics/project_level_spec.rb index 196306fd52a..1b175c89997 100644 --- a/spec/models/cycle_analytics/project_level_spec.rb +++ b/spec/models/cycle_analytics/project_level_spec.rb @@ -13,7 +13,7 @@ describe CycleAnalytics::ProjectLevel do subject { described_class.new(project: project, options: { from: from_date }) } - describe '#all_medians_per_stage' do + describe '#all_medians_by_stage' do before do allow_any_instance_of(Gitlab::ReferenceExtractor).to receive(:issues).and_return([issue]) @@ -26,7 +26,7 @@ describe CycleAnalytics::ProjectLevel do hsh[stage_name] = subject[stage_name].median.presence end - expect(subject.all_medians_per_stage).to eq(values) + expect(subject.all_medians_by_stage).to eq(values) end end end |