require "rails_helper" RSpec.describe Feeds::CleanHtml, type: :service do let(:html) do <<~HTML

#{Feeds::CleanHtml::MEDIUM_CATCHPHRASE}

HTML end it "removes unwanted content", :aggregate_failures do expect(described_class.call(html)).not_to include("") expect(described_class.call(html)).not_to include("

") end end