Commit 4beeb602 authored by Shinya Maeda's avatar Shinya Maeda

Fix populate_spec

parent 272b8dca
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment