2019-12-10 10:07:52 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-06-24 02:09:01 -04:00
|
|
|
RSpec.describe SnippetUserMention do
|
2019-12-10 10:07:52 -05:00
|
|
|
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
|