require 'rails_helper'

RSpec.describe ContentMedia,
               type: :model do
  describe "factory" do
    subject { build :content_media }
    it { is_expected.to be_valid }
    it {
      expect(subject.content).to be_a(Content)
    }
  end
end
