ca884980ee
Backports https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10161 (code out of ee/ folder).
21 lines
551 B
Ruby
21 lines
551 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'Merge request > User edits MR' do
|
|
include ProjectForksHelper
|
|
|
|
before do
|
|
stub_licensed_features(multiple_merge_request_assignees: false)
|
|
end
|
|
|
|
context 'non-fork merge request' do
|
|
include_context 'merge request edit context'
|
|
it_behaves_like 'an editable merge request'
|
|
end
|
|
|
|
context 'for a forked project' do
|
|
let(:source_project) { fork_project(target_project, nil, repository: true) }
|
|
|
|
include_context 'merge request edit context'
|
|
it_behaves_like 'an editable merge request'
|
|
end
|
|
end
|