diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-09-05 19:18:14 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-09-05 19:18:14 +0800 |
commit | d354d185ff8e6355d03457d61fd8424b4494e5cb (patch) | |
tree | 0e7b2e7159b9391c830d352f0ea75fbbc2874c76 /spec/models/ci | |
parent | 6e1a06d8cd761692596696ab4e17ccaf0c68519d (diff) | |
download | gitlab-ce-d354d185ff8e6355d03457d61fd8424b4494e5cb.tar.gz |
Remove tests for pending_duration
Diffstat (limited to 'spec/models/ci')
-rw-r--r-- | spec/models/ci/pipeline_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/models/ci/pipeline_spec.rb b/spec/models/ci/pipeline_spec.rb index 194c3fc01f1..fbf945c757c 100644 --- a/spec/models/ci/pipeline_spec.rb +++ b/spec/models/ci/pipeline_spec.rb @@ -128,7 +128,7 @@ describe Ci::Pipeline, models: true do let(:build_b) { create_build('build2', current, 20) } let(:build_c) { create_build('build3', current + 50, 10) } - describe '#duration and #pending_duration' do + describe '#duration' do before do pipeline.update(created_at: current) @@ -156,7 +156,6 @@ describe Ci::Pipeline, models: true do pipeline.reload expect(pipeline.duration).to eq(40) - expect(pipeline.pending_duration).to eq(45) end end |