summaryrefslogtreecommitdiff
path: root/spec/lib/banzai/pipeline/email_pipeline_spec.rb
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