Commit ebeee311 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix pipeline fixtures and calls to removed method

parent 7d4767fb
...@@ -34,7 +34,7 @@ class Gitlab::Seeder::Pipelines ...@@ -34,7 +34,7 @@ class Gitlab::Seeder::Pipelines
rescue ActiveRecord::RecordInvalid rescue ActiveRecord::RecordInvalid
print 'F' print 'F'
ensure ensure
pipeline.build_updated pipeline.update_status
end end
end end
end end
......
...@@ -59,7 +59,7 @@ feature 'test coverage badge' do ...@@ -59,7 +59,7 @@ feature 'test coverage badge' do
create(:ci_pipeline, opts).tap do |pipeline| create(:ci_pipeline, opts).tap do |pipeline|
yield pipeline yield pipeline
pipeline.build_updated pipeline.update_status
end end
end end
......
...@@ -100,7 +100,7 @@ describe Gitlab::Badge::Coverage::Report do ...@@ -100,7 +100,7 @@ describe Gitlab::Badge::Coverage::Report do
create(:ci_pipeline, opts).tap do |pipeline| create(:ci_pipeline, opts).tap do |pipeline|
yield pipeline yield pipeline
pipeline.build_updated pipeline.update_status
end end
end end
end 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