debian-mirror-gitlab/spec/features/merge_request/user_edits_mr_spec.rb

24 lines
588 B
Ruby
Raw Normal View History

2019-10-12 21:52:04 +05:30
# frozen_string_literal: true
2019-07-31 22:56:46 +05:30
require 'spec_helper'
2018-03-17 18:26:18 +05:30
2020-06-23 00:09:42 +05:30
RSpec.describe 'Merge request > User edits MR' do
2018-12-13 13:39:08 +05:30
include ProjectForksHelper
2019-07-31 22:56:46 +05:30
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
2018-03-17 18:26:18 +05:30
context 'for a forked project' do
2019-07-31 22:56:46 +05:30
let(:source_project) { fork_project(target_project, nil, repository: true) }
include_context 'merge request edit context'
it_behaves_like 'an editable merge request'
2018-03-17 18:26:18 +05:30
end
end