diff --git a/spec/models/tagging_spec.rb b/spec/models/tagging_spec.rb index 004fed1c68..694f4831f5 100644 --- a/spec/models/tagging_spec.rb +++ b/spec/models/tagging_spec.rb @@ -3,6 +3,11 @@ require 'rails_helper' RSpec.describe Tagging do + describe 'Associations' do + it { is_expected.to belong_to(:tag).required } + it { is_expected.to belong_to(:taggable).required } + end + describe 'Validations' do it 'validates presence of something' do expect(subject).to_not be_valid