2017-08-01 14:03:07 -04:00
|
|
|
require 'rails_helper'
|
|
|
|
|
|
|
|
describe 'Merge request > User edits MR' do
|
2018-08-31 13:16:34 -04:00
|
|
|
include ProjectForksHelper
|
|
|
|
|
2017-08-01 14:03:07 -04:00
|
|
|
it_behaves_like 'an editable merge request'
|
|
|
|
|
|
|
|
context 'for a forked project' do
|
|
|
|
it_behaves_like 'an editable merge request' do
|
2018-08-31 13:16:34 -04:00
|
|
|
let(:source_project) { fork_project(target_project, nil, repository: true) }
|
2017-08-01 14:03:07 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|