gitlab-org--gitlab-foss/spec/lib/banzai/pipeline/email_pipeline_spec.rb
2017-09-12 11:54:14 -04:00

14 lines
416 B
Ruby

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