debian-mirror-gitlab/spec/lib/banzai/pipeline/email_pipeline_spec.rb
2018-03-17 18:26:18 +05:30

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