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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
629 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
2023-03-17 16:20:25 +05:30
RSpec.describe 'Merge request > User edits MR', feature_category: :code_review_workflow 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