Commit f6896f93 authored by James Lopez's avatar James Lopez

fix annoying spec

parent cbd0201f
No related merge requests found
......@@ -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
......
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