diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-06-01 14:36:52 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-06-01 14:36:52 +0900 |
commit | 4beeb60255f228dc45dbe8f675a3cc59c0ea7773 (patch) | |
tree | 3f32c59075f12fa26baed5ccfc3f34288869bf11 | |
parent | 272b8dca80eddfcf40933ad5295e9d11f8b1fa93 (diff) | |
download | gitlab-ce-4beeb60255f228dc45dbe8f675a3cc59c0ea7773.tar.gz |
Fix populate_spec
-rw-r--r-- | spec/lib/gitlab/ci/pipeline/chain/populate_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/gitlab/ci/pipeline/chain/populate_spec.rb b/spec/lib/gitlab/ci/pipeline/chain/populate_spec.rb index bcfa9f0c282..feed7728f5a 100644 --- a/spec/lib/gitlab/ci/pipeline/chain/populate_spec.rb +++ b/spec/lib/gitlab/ci/pipeline/chain/populate_spec.rb @@ -75,7 +75,7 @@ describe Gitlab::Ci::Pipeline::Chain::Populate do it 'wastes pipeline iid' do expect(InternalId.ci_pipelines.where(project_id: project.id).last.last_value).to be > 0 - end + end end context 'when pipeline has validation errors' do @@ -98,7 +98,7 @@ describe Gitlab::Ci::Pipeline::Chain::Populate do it 'wastes pipeline iid' do expect(InternalId.ci_pipelines.where(project_id: project.id).last.last_value).to be > 0 - end + end end context 'when there is a seed blocks present' do @@ -144,7 +144,7 @@ describe Gitlab::Ci::Pipeline::Chain::Populate do step.perform rescue nil expect(InternalId.ci_pipelines.where(project_id: project.id).exists?).to be_falsy - end + end end end |