f3fba178b9
This removes the `ForkedProjectLink` model that has been replaced by the `ForkNetworkMember` and `ForkNetwork` combination. All existing relations have been adjusted to use these new models. The `forked_project_link` table has been dropped. The "Forks" count on the admin dashboard has been updated to count all `ForkNetworkMember` rows and deduct the number of `ForkNetwork` rows. This is because now the "root-project" of a fork network also has a `ForkNetworkMember` row. This count could become inaccurate when the root of a fork network is deleted.
13 lines
333 B
Ruby
13 lines
333 B
Ruby
require 'rails_helper'
|
|
|
|
describe 'Merge request > User edits MR' do
|
|
include ProjectForksHelper
|
|
|
|
it_behaves_like 'an editable merge request'
|
|
|
|
context 'for a forked project' do
|
|
it_behaves_like 'an editable merge request' do
|
|
let(:source_project) { fork_project(target_project, nil, repository: true) }
|
|
end
|
|
end
|
|
end
|