Assert on correctly restoring pipelines after an import
This commit is contained in:
parent
a01994bf07
commit
7e117b4c9d
1 changed files with 4 additions and 0 deletions
|
@ -181,6 +181,10 @@ describe Gitlab::ImportExport::ProjectTreeRestorer do
|
|||
end
|
||||
|
||||
context 'when restoring hierarchy of pipeline, stages and jobs' do
|
||||
it 'restores pipelines' do
|
||||
expect(Ci::Pipeline.all.count).to be 5
|
||||
end
|
||||
|
||||
it 'restores pipeline stages' do
|
||||
expect(Ci::Stage.all.count).to be 6
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue