fix annoying spec
This commit is contained in:
parent
cbd0201fdb
commit
f6896f9381
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ describe Gitlab::ImportExport::ProjectTreeSaver, services: true do
|
|||
end
|
||||
|
||||
it 'has pipeline builds' do
|
||||
expect(saved_project_json['pipelines'].first['statuses'].first['type']).to eq('Ci::Build')
|
||||
expect(saved_project_json['pipelines'].first['statuses'].count { |hash| hash['type'] == 'Ci::Build'}).to eq(1)
|
||||
end
|
||||
|
||||
it 'has pipeline commits' do
|
||||
|
|
Loading…
Reference in a new issue