blob: 2bc3e89a748a712202d983e8668319cc345b0427 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# frozen_string_literal: true
require 'spec_helper'
require_migration! 'clean_up_fix_merge_request_diff_commit_users'
RSpec.describe CleanUpFixMergeRequestDiffCommitUsers, :migration do
let(:namespaces) { table(:namespaces) }
let(:projects) { table(:projects) }
let(:project_namespace) { namespaces.create!(name: 'project2', path: 'project2', type: 'Project') }
let(:namespace) { namespaces.create!(name: 'foo', path: 'foo') }
describe '#up' do
it 'finalizes the background migration' do
expect(described_class).to be_finalize_background_migration_of('FixMergeRequestDiffCommitUsers')
migrate!
end
end
end
|