mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-06 10:19:48 +00:00
16 lines
395 B
Ruby
16 lines
395 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'spec_helper'
|
|
|
|
RSpec.describe DesignUserMention, feature_category: :team_planning do
|
|
describe 'associations' do
|
|
it { is_expected.to belong_to(:design) }
|
|
it { is_expected.to belong_to(:note) }
|
|
end
|
|
|
|
it_behaves_like 'has user mentions' do
|
|
let_it_be(:mentionable_key) { 'design_id' }
|
|
let_it_be(:mentionable) { create(:design) }
|
|
end
|
|
end
|