Fix pipeline fixtures and calls to removed method

This commit is contained in:
Grzegorz Bizon 2016-10-03 16:32:12 +02:00
parent 7d4767fb48
commit ebeee31100
3 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@ class Gitlab::Seeder::Pipelines
rescue ActiveRecord::RecordInvalid
print 'F'
ensure
pipeline.build_updated
pipeline.update_status
end
end
end

View file

@ -59,7 +59,7 @@ feature 'test coverage badge' do
create(:ci_pipeline, opts).tap do |pipeline|
yield pipeline
pipeline.build_updated
pipeline.update_status
end
end

View file

@ -100,7 +100,7 @@ describe Gitlab::Badge::Coverage::Report do
create(:ci_pipeline, opts).tap do |pipeline|
yield pipeline
pipeline.build_updated
pipeline.update_status
end
end
end