Commit d8eb961d authored by Rémy Coutable's avatar Rémy Coutable 🏔

Fix a migration spec messing up the MergeRequestDiff DB schema

Signed-off-by: Rémy Coutable's avatarRémy Coutable <remy@rymai.me>
parent f74e431b
Pipeline #16521966 passed with stages
in 39 minutes and 40 seconds
......@@ -7,6 +7,10 @@ describe Gitlab::BackgroundMigration::PopulateMergeRequestMetricsWithEventsData,
.to receive(:commits_count=).and_return(nil)
end
after do
[MergeRequest, MergeRequestDiff].each(&:reset_column_information)
end
describe '#perform' do
let(:mr_with_event) { create(:merge_request) }
let!(:merged_event) { create(:event, :merged, target: mr_with_event) }
......
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