summaryrefslogtreecommitdiff
path: root/spec/models/concerns/integrations/enable_ssl_verification_spec.rb
blob: 802e950c0c23e79df7f2843d09b9767f1f5e78b3 (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 Integrations::EnableSslVerification
end