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

enable_ssl_verification_spec.rb « integrations « concerns « models « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 418f3f4dbc6675a19295a13008f881d59ba4fe3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Integrations::EnableSslVerification do
  let(:described_class) do
    Class.new(Integration) do
      prepend Integrations::EnableSslVerification

      def fields
        [
          { name: 'main_url' },
          { name: 'other_url' },
          { name: 'username' }
        ]
      end
    end
  end

  let(:integration) { described_class.new }

  include_context described_class
end