2020-01-01 13:55:28 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
RSpec.describe SnippetUserMention do
|
2020-01-01 13:55:28 +05:30
|
|
|
describe 'associations' do
|
|
|
|
it { is_expected.to belong_to(:snippet) }
|
|
|
|
it { is_expected.to belong_to(:note) }
|
|
|
|
end
|
|
|
|
|
|
|
|
it_behaves_like 'has user mentions'
|
|
|
|
end
|