Welcome to mirror list, hosted at ThFree Co, Russian Federation.

email_pipeline_spec.rb « pipeline « banzai « lib « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6a11ca2f9d5588a2b06ef49fbf31f3dff8b4ae53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'rails_helper'

describe Banzai::Pipeline::EmailPipeline do
  describe '.filters' do
    it 'returns the expected type' do
      expect(described_class.filters).to be_kind_of(Banzai::FilterArray)
    end

    it 'excludes ImageLazyLoadFilter' do
      expect(described_class.filters).not_to be_empty
      expect(described_class.filters).not_to include(Banzai::Filter::ImageLazyLoadFilter)
    end
  end
end