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

timeout_html_pipeline_filter_spec.rb « filter « banzai « lib « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 066f59758f09118d8d531cc39ed6e070c6c117a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Banzai::Filter::TimeoutHtmlPipelineFilter, feature_category: :team_planning do
  include FilterSpecHelper

  it_behaves_like 'filter timeout' do
    let(:text) { '<p>some text</p>' }
  end

  it 'raises NotImplementedError' do
    expect { filter('test') }.to raise_error NotImplementedError
  end
end