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

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

require 'spec_helper'

RSpec.describe AbuseReportsHelper, feature_category: :insider_threat do
  describe '#valid_image_mimetypes' do
    subject(:valid_image_mimetypes) { helper.valid_image_mimetypes }

    it {
      is_expected.to eq('image/png, image/jpg, image/jpeg, image/gif, image/bmp, image/tiff, image/ico or image/webp')
    }
  end
end