mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-01 16:04:19 +00:00
16 lines
429 B
Ruby
16 lines
429 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'spec_helper'
|
|
|
|
RSpec.describe MergeRequestUserMention, feature_category: :code_review_workflow do
|
|
describe 'associations' do
|
|
it { is_expected.to belong_to(:merge_request) }
|
|
it { is_expected.to belong_to(:note) }
|
|
end
|
|
|
|
it_behaves_like 'has user mentions' do
|
|
let_it_be(:mentionable_key) { 'merge_request_id' }
|
|
let_it_be(:mentionable) { create(:merge_request) }
|
|
end
|
|
end
|