diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-08-31 00:49:10 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-08-31 00:49:10 +0800 |
commit | 7dcc2446077084c0cbce92bc5b1279984cc75920 (patch) | |
tree | 47d576fabb11df72523592d42e7dfae737a400ef | |
parent | 4789adc565b08ed4979ef3b876b2fbd6224fa084 (diff) | |
download | gitlab-ce-7dcc2446077084c0cbce92bc5b1279984cc75920.tar.gz |
It's renamed to periods
-rw-r--r-- | spec/lib/gitlab/ci/pipeline_duration_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/ci/pipeline_duration_spec.rb b/spec/lib/gitlab/ci/pipeline_duration_spec.rb index 21d5a5c96a2..acb690581d6 100644 --- a/spec/lib/gitlab/ci/pipeline_duration_spec.rb +++ b/spec/lib/gitlab/ci/pipeline_duration_spec.rb @@ -114,10 +114,10 @@ describe Gitlab::Ci::PipelineDuration do end def create_calculator(data) - segments = data.shuffle.map do |(first, last)| + periods = data.shuffle.map do |(first, last)| Gitlab::Ci::PipelineDuration::Period.new(first, last) end - Gitlab::Ci::PipelineDuration.new(segments) + Gitlab::Ci::PipelineDuration.new(periods) end end |