diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-09-12 18:14:54 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-09-12 18:54:14 +0300 |
commit | 6a97759ea86cd6d15eea1b17fd2526b4f0569108 (patch) | |
tree | 74d3ff854e59bc400a70bf3783bcfdf51f2e9e48 /spec/lib/banzai | |
parent | 0cd1563fb66e9ba533346fe3957912225e27000f (diff) |
Remove ImageLazyLoadFilter from EmailPipeline
Diffstat (limited to 'spec/lib/banzai')
-rw-r--r-- | spec/lib/banzai/pipeline/email_pipeline_spec.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/lib/banzai/pipeline/email_pipeline_spec.rb b/spec/lib/banzai/pipeline/email_pipeline_spec.rb new file mode 100644 index 00000000000..6a11ca2f9d5 --- /dev/null +++ b/spec/lib/banzai/pipeline/email_pipeline_spec.rb @@ -0,0 +1,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 |