summaryrefslogtreecommitdiff
path: root/spec/support/shared_examples/merge_request_author_auto_assign_shared_examples.rb
blob: d4986975f033a68db6fe801612240e1c8ba665b8 (plain)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

RSpec.shared_examples 'merge request author auto assign' do
  it 'populates merge request author as assignee' do
    expect(find('.js-assignee-search')).to have_content(user.name)
    expect(page).not_to have_content 'Assign yourself'
  end
end