summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-06-01 14:36:52 +0900
committerShinya Maeda <shinya@gitlab.com>2018-06-01 14:36:52 +0900
commit4beeb60255f228dc45dbe8f675a3cc59c0ea7773 (patch)
tree3f32c59075f12fa26baed5ccfc3f34288869bf11
parent272b8dca80eddfcf40933ad5295e9d11f8b1fa93 (diff)
downloadgitlab-ce-4beeb60255f228dc45dbe8f675a3cc59c0ea7773.tar.gz
Fix populate_spec
-rw-r--r--spec/lib/gitlab/ci/pipeline/chain/populate_spec.rb6
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