Commit 7e117b4c authored by Grzegorz Bizon's avatar Grzegorz Bizon

Assert on correctly restoring pipelines after an import

parent a01994bf
......@@ -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
......
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