Skip to content
Snippets Groups Projects
Unverified Commit d8eb961d authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Fix a migration spec messing up the MergeRequestDiff DB schema


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent f74e431b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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) }
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment