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

service_desk_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: 83541494f68e6824c5cf28bfeaa10c028908695a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Banzai::Pipeline::ServiceDeskEmailPipeline, feature_category: :service_desk do
  describe '.filters' do
    it 'returns the expected type' do
      expect(described_class.filters).to be_kind_of(Banzai::FilterArray)
    end

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